Skip to content
Permalink
Browse files

[processing] Refactor Fields algorithm: avoid unnecessary confirmatio…

…n dialogs
  • Loading branch information
gacarrillor authored and m-kuhn committed May 3, 2018
1 parent 2dc76fd commit df6902638b22700a0caeb380c2afa62a2720941e
@@ -318,6 +318,8 @@ def setDelegate(self, column_name, delegate):
delegate)

def setLayer(self, layer):
if self.model.layer() == layer:
return
self.model.setLayer(layer)
if layer is None:
return
@@ -154,4 +154,5 @@ def execAlgorithmDialog(algOrName, parameters={}):
canvas.setMapTool(prevMapTool)

results = dlg.results()
dlg.close()
return results

0 comments on commit df69026

Please sign in to comment.
You can’t perform that action at this time.