Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[processing] Fix crash when running model through modeler dialog
Fixes #20676

(cherry picked from commit 01de9c3)
  • Loading branch information
nyalldawson committed Nov 29, 2018
1 parent 55674a3 commit 14164ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/modeler/ModelerDialog.py
Expand Up @@ -487,7 +487,7 @@ def runModel(self):
self.bar.pushMessage("", self.tr("Model doesn't contain any algorithm and/or parameter and can't be executed"), level=Qgis.Warning, duration=5)
return

dlg = AlgorithmDialog(self.model, parent=iface.mainWindow())
dlg = AlgorithmDialog(self.model.create(), parent=iface.mainWindow())
dlg.exec_()

def save(self):
Expand Down

0 comments on commit 14164ef

Please sign in to comment.