mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
search: Only queue an immediate search if we don't have one queued
This commit is contained in:
parent
9208473e59
commit
c49f2e1384
1 changed files with 3 additions and 1 deletions
|
|
@ -611,7 +611,9 @@ const SearchResults = new Lang.Class({
|
|||
},
|
||||
|
||||
activateDefault: function() {
|
||||
this._doSearch();
|
||||
// If we have a search queued up, force the search now.
|
||||
if (this._searchTimeoutId > 0)
|
||||
this._doSearch();
|
||||
|
||||
if (this._defaultResult)
|
||||
this._defaultResult.activate();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue