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
  • Loading branch information
nyalldawson committed Nov 29, 2018
1 parent d207251 commit f10b62c
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 f10b62c

Please sign in to comment.