1
0
mirror of https://github.com/qgis/QGIS.git synced 2025-04-17 00:04:02 -04:00

[processing] Fix crash when running model through modeler dialog

Fixes 
This commit is contained in:
Nyall Dawson 2018-11-30 08:25:21 +10:00
parent 0e4b0980d8
commit 3a66b92522

@ -487,7 +487,7 @@ class ModelerDialog(BASE, WIDGET):
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):