searchDisplay: Update the selection for async searches without results
This ensures that the initial selection is always set correctly. We were missing the empty async search results case. https://bugzilla.gnome.org/show_bug.cgi?id=673233
This commit is contained in:
parent
dd79c1a79a
commit
168e9eeac1
@ -407,6 +407,7 @@ const SearchResults = new Lang.Class({
|
|||||||
meta.resultDisplay.renderResults(metas);
|
meta.resultDisplay.renderResults(metas);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
this._maybeSetInitialSelection();
|
||||||
},
|
},
|
||||||
|
|
||||||
_updateResults: function(searchSystem, results) {
|
_updateResults: function(searchSystem, results) {
|
||||||
@ -433,7 +434,6 @@ const SearchResults = new Lang.Class({
|
|||||||
this._updateProviderResults(provider, providerResults, terms);
|
this._updateProviderResults(provider, providerResults, terms);
|
||||||
}
|
}
|
||||||
|
|
||||||
this._maybeSetInitialSelection();
|
|
||||||
this._content.show();
|
this._content.show();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user