fix: do not show the "profile select" dialog if the user refused to add an account

This commit is contained in:
Ilia 2022-05-30 13:33:07 +03:00
parent d7fad4bd04
commit 9d8b95107d

View File

@ -105,6 +105,11 @@ void LaunchController::decideAccount()
// Open the account manager. // Open the account manager.
APPLICATION->ShowGlobalSettings(m_parentWidget, "accounts"); APPLICATION->ShowGlobalSettings(m_parentWidget, "accounts");
} }
else if (reply == QMessageBox::No)
{
// Do not open "profile select" dialog.
return;
}
} }
m_accountToUse = accounts->defaultAccount(); m_accountToUse = accounts->defaultAccount();