Skip to content

Commit

Permalink
Fix type hints in ModelerParametersDialog attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Apr 5, 2018
1 parent 7c191a4 commit 6eabb45
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions python/plugins/processing/modeler/ModelerParametersDialog.py
Expand Up @@ -66,12 +66,11 @@ class ModelerParametersDialog(QDialog):
def __init__(self, alg, model, algName=None):
QDialog.__init__(self)
self.setModal(True)
# The algorithm to define in this dialog. It is an instance of QgsProcessingModelAlgorithm
self._alg = alg
# The model this algorithm is going to be added to
self.model = model
# The name of the algorithm in the model, in case we are editing it and not defining it for the first time
self.childId = algName

self._alg = alg # The algorithm to define in this dialog. It is an instance of QgsProcessingAlgorithm
self.model = model # The model this algorithm is going to be added to. It is an instance of QgsProcessingModelAlgorithm
self.childId = algName # The name of the algorithm in the model, in case we are editing it and not defining it for the first time

self.setupUi()
self.params = None
settings = QgsSettings()
Expand Down

0 comments on commit 6eabb45

Please sign in to comment.