mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fixed focus when switching between accounts.
This commit is contained in:
parent
b396d6e836
commit
ec1511e0c9
1 changed files with 2 additions and 0 deletions
|
@ -107,6 +107,8 @@ void Controller::showAccount(not_null<Main::Account*> account) {
|
||||||
checkLockByTerms();
|
checkLockByTerms();
|
||||||
_widget.updateGlobalMenu();
|
_widget.updateGlobalMenu();
|
||||||
}, _sessionController->lifetime());
|
}, _sessionController->lifetime());
|
||||||
|
|
||||||
|
widget()->setInnerFocus();
|
||||||
} else {
|
} else {
|
||||||
setupIntro();
|
setupIntro();
|
||||||
_widget.updateGlobalMenu();
|
_widget.updateGlobalMenu();
|
||||||
|
|
Loading…
Add table
Reference in a new issue