Navigation Menu

Skip to content

Commit

Permalink
[processing] Fix crash on closing batch processing dialog
Browse files Browse the repository at this point in the history
Refs #20650

(cherry picked from commit f10b62c)
  • Loading branch information
nyalldawson committed Nov 29, 2018
1 parent 251ee2b commit b400156
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/gui/AlgorithmDialog.py
Expand Up @@ -97,7 +97,7 @@ def getParametersPanel(self, alg, parent):

def runAsBatch(self):
self.close()
dlg = BatchAlgorithmDialog(self.algorithm(), parent=iface.mainWindow())
dlg = BatchAlgorithmDialog(self.algorithm().create(), parent=iface.mainWindow())
dlg.show()
dlg.exec_()

Expand Down

0 comments on commit b400156

Please sign in to comment.