Skip to content

Commit

Permalink
Fix processing locator filter
Browse files Browse the repository at this point in the history
  • Loading branch information
suricactus authored and nyalldawson committed Mar 17, 2020
1 parent 97f24d0 commit 7684062
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/plugins/processing/gui/AlgorithmLocatorFilter.py
Expand Up @@ -84,13 +84,13 @@ def fetchResults(self, string, context, feedback):
self.resultFetched.emit(result)

for t in a.tags():
result.score = QgsStringUtils.fuzzyMatch(t, string)
result.score = QgsStringUtils.fuzzyScore(t, string)

if result.score > 0:
self.resultFetched.emit(result)
continue

result.score = QgsStringUtils.fuzzyMatch(result.displayString, string)
result.score = QgsStringUtils.fuzzyScore(result.displayString, string)

if result.score > 0:
self.resultFetched.emit(result)
Expand Down

0 comments on commit 7684062

Please sign in to comment.