[processing] Fix python exception raised after running in-place

algorithm which requires no parameters
This commit is contained in:
Nyall Dawson 2022-02-01 09:29:48 +10:00
parent d61cab28c1
commit a622004e21

View File

@ -488,8 +488,8 @@ class ProcessingPlugin(QObject):
dlg = HistoryDialog()
dlg.exec_()
def tr(self, message):
return QCoreApplication.translate('ProcessingPlugin', message)
def tr(self, message, disambiguation=None, n=-1):
return QCoreApplication.translate('ProcessingPlugin', message, disambiguation=disambiguation, n=n)
def editSelected(self, enabled):
self.toolbox.set_in_place_edit_mode(enabled)