We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3607e26 commit f915cbeCopy full SHA for f915cbe
python/plugins/processing/modeler/ModelerDialog.py
@@ -89,7 +89,7 @@ def _dropEvent(event):
89
if text in ModelerParameterDefinitionDialog.paramTypes:
90
self.addInputOfType(text, event.pos())
91
else:
92
- alg = Processing.getAlgorithm(text)
+ alg = algList.getAlgorithm(text)
93
if alg is not None:
94
self._addAlgorithm(alg.getCopy(), event.pos())
95
event.accept()
@@ -420,7 +420,7 @@ def fillInputsTree(self):
420
def addAlgorithm(self):
421
item = self.algorithmTree.currentItem()
422
if isinstance(item, TreeAlgorithmItem):
423
- alg = ModelerUtils.getAlgorithm(item.alg.commandLineName())
+ alg = algList.getAlgorithm(item.alg.commandLineName())
424
self._addAlgorithm(alg.getCopy())
425
426
def _addAlgorithm(self, alg, pos=None):
0 commit comments