Skip to content
Permalink
Browse files

[processing] Fix preconfigured alg creation (fixes #15100)

  • Loading branch information
wonder-sk committed Jul 5, 2016
1 parent e4a6923 commit 47eae5865abf4cb835071308220b90600212c78d
Showing with 2 additions and 1 deletion.
  1. +2 −1 python/plugins/processing/preconfigured/NewPreconfiguredAlgorithmAction.py
@@ -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.
You can’t perform that action at this time.