mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-02 15:35:51 +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),
|
.key = peer->owner().history(peer),
|
||||||
.newWindow = base::IsCtrlPressed(),
|
.newWindow = base::IsCtrlPressed(),
|
||||||
});
|
});
|
||||||
|
if (!_searchSuggestionsLocked && _searchHasFocus) {
|
||||||
|
setFocus();
|
||||||
|
controller()->widget()->setInnerFocus();
|
||||||
|
}
|
||||||
}, _suggestions->lifetime());
|
}, _suggestions->lifetime());
|
||||||
|
|
||||||
updateControlsGeometry();
|
updateControlsGeometry();
|
||||||
|
Reference in New Issue
Block a user