mirror of https://github.com/procxx/kepka.git
Fix macOS main menu items.
This commit is contained in:
parent
89e8f0ccc3
commit
8b0e54a95c
|
@ -700,7 +700,7 @@ void MainWindow::updateGlobalMenuHook() {
|
|||
}
|
||||
App::wnd()->updateIsActive(0);
|
||||
const auto logged = AuthSession::Exists();
|
||||
const auto locked = !Messenger::Instance().locked();
|
||||
const auto locked = Messenger::Instance().locked();
|
||||
const auto inactive = !logged || locked;
|
||||
const auto support = logged && Auth().supportMode();
|
||||
_forceDisabled(psLogout, !logged && !locked);
|
||||
|
|
Loading…
Reference in New Issue