Skip to content

Commit

Permalink
Fix qt warning on modeler algorithm edit
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Mar 10, 2019
1 parent cf43446 commit 9f6ddaf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/plugins/processing/modeler/ModelerParametersDialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,9 @@ def setupUi(self):
if self.algorithmItem:
self.algorithmItem.setWidgetContext(widget_context)
self.algorithmItem.registerProcessingContextGenerator(self.context_generator)
if self.configuration:
self.algorithmItem.setConfiguration(self.configuration)
self.verticalLayout.addWidget(self.algorithmItem)
if self.configuration:
self.algorithmItem.setConfiguration(self.configuration)
self.verticalLayout.addWidget(self.algorithmItem)

for param in self._alg.parameterDefinitions():
if param.flags() & QgsProcessingParameterDefinition.FlagAdvanced:
Expand Down

0 comments on commit 9f6ddaf

Please sign in to comment.