Skip to content
Browse files

[processing] fix search by alg name (fix #15562)

(cherry picked from commit 11f8aa2)
  • Loading branch information
alexbruy committed Sep 15, 2016
1 parent 91bfa78 commit 8eea065b081c6cbff09f45abf9304f0a72a953ce
Showing with 3 additions and 4 deletions.
  1. +3 −4 python/plugins/processing/gui/
@@ -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
@@ -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
@@ -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:

0 comments on commit 8eea065

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