mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +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),
|
||||
.newWindow = base::IsCtrlPressed(),
|
||||
});
|
||||
if (!_searchSuggestionsLocked && _searchHasFocus) {
|
||||
setFocus();
|
||||
controller()->widget()->setInnerFocus();
|
||||
}
|
||||
}, _suggestions->lifetime());
|
||||
|
||||
updateControlsGeometry();
|
||||
|
|
Loading…
Add table
Reference in a new issue