Skip to content
Permalink
Browse files

[processing] Fix crash when running model through modeler dialog

Fixes #20676
  • Loading branch information
nyalldawson committed Nov 29, 2018
1 parent 0e4b098 commit 3a66b92522b9ae8f9448333e3ada04d76a036b51
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 3a66b92

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