mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-02 15:35:51 +00:00
Show "choose from user" box when typing "from:".
This commit is contained in:
@@ -732,9 +732,10 @@ void MainWindow::noLayerStack(LayerStackWidget *was) {
|
||||
|
||||
void MainWindow::layerFinishedHide(LayerStackWidget *was) {
|
||||
if (was == _layerBg) {
|
||||
auto resetFocus = (was == App::wnd()->focusWidget());
|
||||
destroyLayerDelayed();
|
||||
InvokeQueued(this, [this] {
|
||||
setInnerFocus();
|
||||
InvokeQueued(this, [this, resetFocus] {
|
||||
if (resetFocus) setInnerFocus();
|
||||
checkHistoryActivation();
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user