Skip to content

Commit 3a66b92

Browse files
committedNov 30, 2018
[processing] Fix crash when running model through modeler dialog
Fixes #20676
1 parent 0e4b098 commit 3a66b92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎python/plugins/processing/modeler/ModelerDialog.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ def runModel(self):
487487
self.bar.pushMessage("", self.tr("Model doesn't contain any algorithm and/or parameter and can't be executed"), level=Qgis.Warning, duration=5)
488488
return
489489

490-
dlg = AlgorithmDialog(self.model, parent=iface.mainWindow())
490+
dlg = AlgorithmDialog(self.model.create(), parent=iface.mainWindow())
491491
dlg.exec_()
492492

493493
def save(self):

0 commit comments

Comments
 (0)
Please sign in to comment.