mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-02-05 23:01:19 +00:00
Fix small chats list column bug with boxes.
This commit is contained in:
parent
c0e780a28f
commit
26532ab9b4
@ -712,10 +712,11 @@ void MainWindow::noLayerStack(LayerStackWidget *was) {
|
||||
|
||||
void MainWindow::layerFinishedHide(LayerStackWidget *was) {
|
||||
if (was == _layerBg) {
|
||||
auto resetFocus = (was == App::wnd()->focusWidget());
|
||||
auto resetFocus = Ui::InFocusChain(was);
|
||||
if (resetFocus) setFocus();
|
||||
destroyLayerDelayed();
|
||||
InvokeQueued(this, [this, resetFocus] {
|
||||
if (resetFocus) setInnerFocus();
|
||||
if (resetFocus) setInnerFocus();
|
||||
InvokeQueued(this, [this] {
|
||||
checkHistoryActivation();
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user