search: Only queue an immediate search if we don't have one queued
This commit is contained in:
parent
9208473e59
commit
c49f2e1384
@ -611,7 +611,9 @@ const SearchResults = new Lang.Class({
|
|||||||
},
|
},
|
||||||
|
|
||||||
activateDefault: function() {
|
activateDefault: function() {
|
||||||
this._doSearch();
|
// If we have a search queued up, force the search now.
|
||||||
|
if (this._searchTimeoutId > 0)
|
||||||
|
this._doSearch();
|
||||||
|
|
||||||
if (this._defaultResult)
|
if (this._defaultResult)
|
||||||
this._defaultResult.activate();
|
this._defaultResult.activate();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user