Skip to content

Commit

Permalink
Call postInitialise in modeler Dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaud-morvan authored and volaya committed Oct 5, 2016
1 parent a38c13d commit 8d16161
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions python/plugins/processing/modeler/ModelerParametersDialog.py
Expand Up @@ -185,9 +185,7 @@ def setupUi(self):
self.dependenciesPanel = self.getDependenciesPanel()
self.verticalLayout.addWidget(label)
self.verticalLayout.addWidget(self.dependenciesPanel)

self.verticalLayout.addStretch(1000)
self.setLayout(self.verticalLayout)

self.setPreviousValues()
self.setWindowTitle(self._alg.name)
Expand Down Expand Up @@ -231,6 +229,9 @@ def setupUi(self):
self.buttonBox.rejected.connect(self.cancelPressed)
QMetaObject.connectSlotsByName(self)

for wrapper in self.wrappers.values():
wrapper.postInitialize(self.wrappers.values())

def requestFinished(self):
"""Change the webview HTML content"""
reply = self.sender()
Expand Down

0 comments on commit 8d16161

Please sign in to comment.