Skip to content
Permalink
Browse files

[processing] Fix exception after running algorithm in modeler

Fixes #40907
  • Loading branch information
nyalldawson committed Jan 12, 2021
1 parent 499a37c commit c703d81c9cc6e5b5f43153c0de9edec04e3080db
Showing with 2 additions and 2 deletions.
  1. +2 −2 python/plugins/processing/gui/AlgorithmDialog.py
@@ -106,11 +106,11 @@ def blockAdditionalControlsWhileRunning(self):
def setParameters(self, parameters):
self.mainWidget().setParameters(parameters)

def createProcessingParameters(self):
def createProcessingParameters(self, include_default=True):
if self.mainWidget() is None:
return {}
else:
return self.mainWidget().createProcessingParameters()
return self.mainWidget().createProcessingParameters(include_default)

def runAlgorithm(self):
self.feedback = self.createFeedback()

0 comments on commit c703d81

Please sign in to comment.
You can’t perform that action at this time.