mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-04-15 23:06:04 +02:00
do nothing with file>login in login state
This commit is contained in:
parent
14ab53571f
commit
b82ba8c085
1 changed files with 6 additions and 1 deletions
|
@ -95,7 +95,12 @@ void LoginDialog::toggleAction() {
|
|||
} else {
|
||||
// change the menu item to login
|
||||
loginAction->setText("Log In / Sign Up");
|
||||
connection = connect(loginAction, &QAction::triggered, [] { LoginDialog::showWithSelection(); });
|
||||
connection = connect(loginAction, &QAction::triggered, [] {
|
||||
// if not in login state, show.
|
||||
if (!qApp->getLoginDialogPoppedUp()) {
|
||||
LoginDialog::showWithSelection();
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue