Skip to content
Permalink
Browse files

Fix processing locator filter

  • Loading branch information
suricactus authored and nyalldawson committed Mar 15, 2020
1 parent 97f24d0 commit 7684062632953e8e2be2ae744d0212cf1ecf756f
Showing with 2 additions and 2 deletions.
  1. +2 −2 python/plugins/processing/gui/AlgorithmLocatorFilter.py
@@ -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)

0 comments on commit 7684062

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