Skip to content

Commit

Permalink
[processing] Fix preconfigured alg creation (fixes #15100)
Browse files Browse the repository at this point in the history
  • Loading branch information
wonder-sk committed Jul 5, 2016
1 parent e4a6923 commit 47eae58
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -42,5 +42,6 @@ def isEnabled(self):
not isinstance(self.itemData, PreconfiguredAlgorithm))

def execute(self):
dlg = PreconfiguredAlgorithmDialog(self.itemData, self.toolbox)
alg = self.itemData.getCopy() # make copy so we do not taint the original one in the dialog
dlg = PreconfiguredAlgorithmDialog(alg, self.toolbox)
dlg.exec_()

0 comments on commit 47eae58

Please sign in to comment.