Skip to content

Commit 6eabb45

Browse files
committedApr 5, 2018
Fix type hints in ModelerParametersDialog attributes
1 parent 7c191a4 commit 6eabb45

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed
 

‎python/plugins/processing/modeler/ModelerParametersDialog.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,11 @@ class ModelerParametersDialog(QDialog):
6666
def __init__(self, alg, model, algName=None):
6767
QDialog.__init__(self)
6868
self.setModal(True)
69-
# The algorithm to define in this dialog. It is an instance of QgsProcessingModelAlgorithm
70-
self._alg = alg
71-
# The model this algorithm is going to be added to
72-
self.model = model
73-
# The name of the algorithm in the model, in case we are editing it and not defining it for the first time
74-
self.childId = algName
69+
70+
self._alg = alg # The algorithm to define in this dialog. It is an instance of QgsProcessingAlgorithm
71+
self.model = model # The model this algorithm is going to be added to. It is an instance of QgsProcessingModelAlgorithm
72+
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
73+
7574
self.setupUi()
7675
self.params = None
7776
settings = QgsSettings()

0 commit comments

Comments
 (0)
Please sign in to comment.