Skip to content
Permalink
Browse files
invert logic
  • Loading branch information
roya0045 authored and nyalldawson committed Jan 5, 2021
1 parent d45b614 commit 5920ded609125c7ab2a4e67c4aacac99afdd58e9
@@ -194,7 +194,7 @@ def initWidgets(self):
for wrapper in list(self.wrappers.values()):
wrapper.postInitialize(list(self.wrappers.values()))

def createProcessingParameters(self, skip_defaults=False):
def createProcessingParameters(self, include_default=True):
parameters = {}
for p, v in self.extra_parameters.items():
parameters[p] = v
@@ -143,7 +143,7 @@ def on_finished(successful, results):
dlg.exec_()

if dlg.wasExecuted():
self.model().setDesignerParameterValues(dlg.createProcessingParameters(skip_defaults=True))
self.model().setDesignerParameterValues(dlg.createProcessingParameters(include_default=False))

def saveInProject(self):
if not self.validateSave():

0 comments on commit 5920ded

Please sign in to comment.