mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-01 23:15:59 +00:00
Improve second-time choose of toppeers.
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user