Skip to content
Permalink
Browse files

Fix type hints in ModelerParametersDialog attributes

  • Loading branch information
m-kuhn committed Apr 5, 2018
1 parent 7c191a4 commit 6eabb4504398daf2af682c73e9d8e39a0acfc7c3
Showing with 5 additions and 6 deletions.
  1. +5 −6 python/plugins/processing/modeler/ModelerParametersDialog.py
@@ -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()

0 comments on commit 6eabb45

Please sign in to comment.
You can’t perform that action at this time.