Skip to content

Commit 47eae58

Browse files
committedJul 5, 2016
[processing] Fix preconfigured alg creation (fixes #15100)
1 parent e4a6923 commit 47eae58

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎python/plugins/processing/preconfigured/NewPreconfiguredAlgorithmAction.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,6 @@ def isEnabled(self):
4242
not isinstance(self.itemData, PreconfiguredAlgorithm))
4343

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

0 commit comments

Comments
 (0)
Please sign in to comment.