Skip to content


Browse files Browse the repository at this point in the history
[processing] fix search by alg name (fix #15562)
  • Loading branch information
alexbruy committed Sep 15, 2016
1 parent 2a8333e commit 11f8aa2
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions python/plugins/processing/gui/
Expand Up @@ -31,7 +31,6 @@
from qgis.PyQt.QtWidgets import QDialog, QLabel, QSpacerItem, QHBoxLayout, QVBoxLayout, QSizePolicy, QComboBox, QCompleter
from qgis.PyQt.QtCore import QSortFilterProxyModel
from qgis.utils import iface
from processing.core.Processing import Processing
from processing.core.alglist import algList
from processing.gui.MessageDialog import MessageDialog
from processing.gui.AlgorithmDialog import AlgorithmDialog
Expand Down Expand Up @@ -100,8 +99,8 @@ def fillCombo(self):

# Add algorithms
for algs in algList.algs.values():
for alg in algs:
for provider in algList.algs.values():
for alg in provider:
self.combo.addItem('Processing algorithm: ' + alg)

# Add functions
Expand Down Expand Up @@ -153,7 +152,7 @@ def run(self):
s = unicode(self.combo.currentText())
if s.startswith('Processing algorithm: '):
algName = s[len('Processing algorithm: '):]
alg = Processing.getAlgorithmFromFullName(algName)
alg = algList.getAlgorithm(algName)
if alg is not None:
Expand Down

0 comments on commit 11f8aa2

Please sign in to comment.