diff --git a/src/online/online_player_profile.cpp b/src/online/online_player_profile.cpp index 398b1a907..60eee5b72 100644 --- a/src/online/online_player_profile.cpp +++ b/src/online/online_player_profile.cpp @@ -173,10 +173,13 @@ namespace Online // Check if failure happened during automatic (saved) signin. else if (!isSuccess()) { - if (GUIEngine::getCurrentScreen() != MainMenuScreen::getInstance()) + if (GUIEngine::getCurrentScreen() != MainMenuScreen::getInstance() || + GUIEngine::ModalDialog::isADialogActive()) { // User has already opened another menu, so use message queue // to inform user that login failed. + // Same thing if a dialog is active, can't navigate to other + // screen when a dialog is active MessageQueue::add(MessageQueue::MT_ERROR, getInfo()); return; }