diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2022-06-01 10:13:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-01 10:13:35 +0200 |
commit | a88ad8025b99e4882f2004ab52a8ed5bd32cc7ab (patch) | |
tree | 9c2eddee7439d2f02c28b0b3a2d335817ba5088e /launcher | |
parent | 04a3669fc470130a5d7f2dfd32f06a3f2aceb165 (diff) | |
parent | 9d8b95107da69cb0202824e6e5d7211b3a7e2830 (diff) | |
download | PrismLauncher-a88ad8025b99e4882f2004ab52a8ed5bd32cc7ab.tar.gz PrismLauncher-a88ad8025b99e4882f2004ab52a8ed5bd32cc7ab.tar.bz2 PrismLauncher-a88ad8025b99e4882f2004ab52a8ed5bd32cc7ab.zip |
Merge pull request #682 from istudyatuni/fix-add-account-behaviour
Diffstat (limited to 'launcher')
-rw-r--r-- | launcher/LaunchController.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/launcher/LaunchController.cpp b/launcher/LaunchController.cpp index 002c08b9..d36ee3fe 100644 --- a/launcher/LaunchController.cpp +++ b/launcher/LaunchController.cpp @@ -105,6 +105,11 @@ void LaunchController::decideAccount() // Open the account manager. APPLICATION->ShowGlobalSettings(m_parentWidget, "accounts"); } + else if (reply == QMessageBox::No) + { + // Do not open "profile select" dialog. + return; + } } m_accountToUse = accounts->defaultAccount(); |