Skip to content
Permalink
Browse files

[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 14164ef9e157ed58d996304478efaaf3fc39e38f
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/modeler/ModelerDialog.py
@@ -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):

0 comments on commit 14164ef

Please sign in to comment.
You can’t perform that action at this time.