mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Improve second-time choose of toppeers.
This commit is contained in:
parent
05474f4a3f
commit
768e8b457b
1 changed files with 4 additions and 0 deletions
|
@ -1173,6 +1173,10 @@ void Widget::updateSuggestions(anim::type animated) {
|
||||||
.key = peer->owner().history(peer),
|
.key = peer->owner().history(peer),
|
||||||
.newWindow = base::IsCtrlPressed(),
|
.newWindow = base::IsCtrlPressed(),
|
||||||
});
|
});
|
||||||
|
if (!_searchSuggestionsLocked && _searchHasFocus) {
|
||||||
|
setFocus();
|
||||||
|
controller()->widget()->setInnerFocus();
|
||||||
|
}
|
||||||
}, _suggestions->lifetime());
|
}, _suggestions->lifetime());
|
||||||
|
|
||||||
updateControlsGeometry();
|
updateControlsGeometry();
|
||||||
|
|
Loading…
Add table
Reference in a new issue