diff options
author | Ilia <istudyatuni@gmail.com> | 2022-05-30 13:33:07 +0300 |
---|---|---|
committer | Ilia <istudyatuni@gmail.com> | 2022-05-30 13:33:07 +0300 |
commit | 9d8b95107da69cb0202824e6e5d7211b3a7e2830 (patch) | |
tree | 23546ddbe0faa27e6d2b1303d2898de087902f97 /launcher | |
parent | d7fad4bd04a9f6d4fa149ff0b3aa526f1524cd56 (diff) | |
download | PrismLauncher-9d8b95107da69cb0202824e6e5d7211b3a7e2830.tar.gz PrismLauncher-9d8b95107da69cb0202824e6e5d7211b3a7e2830.tar.bz2 PrismLauncher-9d8b95107da69cb0202824e6e5d7211b3a7e2830.zip |
fix: do not show the "profile select" dialog if the user refused to add an account
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(); |