search: Fix timeout ordering
This commit is contained in:
parent
99c29366ee
commit
08ece4c186
@ -482,8 +482,8 @@ const SearchResults = new Lang.Class({
|
|||||||
|
|
||||||
if (!terms) {
|
if (!terms) {
|
||||||
if (this._searchTimeoutId > 0) {
|
if (this._searchTimeoutId > 0) {
|
||||||
this._searchTimeoutId = 0;
|
|
||||||
GLib.source_remove(this._searchTimeoutId);
|
GLib.source_remove(this._searchTimeoutId);
|
||||||
|
this._searchTimeoutId = 0;
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user