Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Mar 16, 2020
1 parent 9c85a3a commit dc5da85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/gui/ParametersPanel.py
Expand Up @@ -129,10 +129,10 @@ def initWidgets(self):
widget_context.setProject(QgsProject.instance())
if iface is not None:
widget_context.setMapCanvas(iface.mapCanvas())
widget_context.setBrowserModel(iface.browserModel())
widget_context.setMessageBar(self.parent.messageBar())
if isinstance(self.alg, QgsProcessingModelAlgorithm):
widget_context.setModel(self.alg)
widget_context.setBrowserModel(iface.browserModel())

# Create widgets and put them in layouts
for param in self.alg.parameterDefinitions():
Expand Down

0 comments on commit dc5da85

Please sign in to comment.