Skip to content

Commit

Permalink
[processing] Fix python exception raised after running in-place
Browse files Browse the repository at this point in the history
algorithm which requires no parameters
  • Loading branch information
nyalldawson committed Feb 1, 2022
1 parent d61cab2 commit a622004
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/plugins/processing/ProcessingPlugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -488,8 +488,8 @@ def openHistory(self):
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)

0 comments on commit a622004

Please sign in to comment.