Fixed focus when switching between accounts.

This commit is contained in:
23rd 2021-12-26 17:02:31 +03:00 committed by John Preston
parent b396d6e836
commit ec1511e0c9

View file

@ -107,6 +107,8 @@ void Controller::showAccount(not_null<Main::Account*> account) {
checkLockByTerms();
_widget.updateGlobalMenu();
}, _sessionController->lifetime());
widget()->setInnerFocus();
} else {
setupIntro();
_widget.updateGlobalMenu();