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 #20676
This commit is contained in:
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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user