2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Un-focus chats search on empty history click.

This commit is contained in:
John Preston
2024-04-24 16:54:10 +04:00
parent 3da51b1bc9
commit e6d72b4861
2 changed files with 9 additions and 3 deletions

View File

@@ -1180,10 +1180,8 @@ void MainWidget::setInnerFocus() {
}
} else if (_mainSection) {
_mainSection->setInnerFocus();
} else if (_history->peer() || !_thirdSection) {
_history->setInnerFocus();
} else {
_thirdSection->setInnerFocus();
_history->setInnerFocus();
}
}