aboutsummaryrefslogtreecommitdiff
path: root/launcher
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2022-06-01 10:13:35 +0200
committerGitHub <noreply@github.com>2022-06-01 10:13:35 +0200
commita88ad8025b99e4882f2004ab52a8ed5bd32cc7ab (patch)
tree9c2eddee7439d2f02c28b0b3a2d335817ba5088e /launcher
parent04a3669fc470130a5d7f2dfd32f06a3f2aceb165 (diff)
parent9d8b95107da69cb0202824e6e5d7211b3a7e2830 (diff)
downloadPrismLauncher-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.cpp5
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();