Fix unwanted automatic fill of all algorithms when there is no input in the locator

This commit is contained in:
Ivan Ivanov 2020-03-28 04:23:37 +02:00 committed by Nyall Dawson
parent 2856e7d2a9
commit 0a1d22574a

View File

@ -83,6 +83,9 @@ class AlgorithmLocatorFilter(QgsLocatorFilter):
if (context.usingPrefix and not string):
self.resultFetched.emit(result)
if not string:
return
string = string.lower()
tagScore = 0
tags = [*a.tags(), a.provider().name(), a.group()]