Skip to content

Commit f915cbe

Browse files
committed
[processing] fixed modeler dialog
1 parent 3607e26 commit f915cbe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/plugins/processing/modeler/ModelerDialog.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def _dropEvent(event):
8989
if text in ModelerParameterDefinitionDialog.paramTypes:
9090
self.addInputOfType(text, event.pos())
9191
else:
92-
alg = Processing.getAlgorithm(text)
92+
alg = algList.getAlgorithm(text)
9393
if alg is not None:
9494
self._addAlgorithm(alg.getCopy(), event.pos())
9595
event.accept()
@@ -420,7 +420,7 @@ def fillInputsTree(self):
420420
def addAlgorithm(self):
421421
item = self.algorithmTree.currentItem()
422422
if isinstance(item, TreeAlgorithmItem):
423-
alg = ModelerUtils.getAlgorithm(item.alg.commandLineName())
423+
alg = algList.getAlgorithm(item.alg.commandLineName())
424424
self._addAlgorithm(alg.getCopy())
425425

426426
def _addAlgorithm(self, alg, pos=None):

0 commit comments

Comments
 (0)