aboutsummaryrefslogtreecommitdiff
path: root/launcher
diff options
context:
space:
mode:
authorIlia <istudyatuni@gmail.com>2022-05-30 13:33:07 +0300
committerIlia <istudyatuni@gmail.com>2022-05-30 13:33:07 +0300
commit9d8b95107da69cb0202824e6e5d7211b3a7e2830 (patch)
tree23546ddbe0faa27e6d2b1303d2898de087902f97 /launcher
parentd7fad4bd04a9f6d4fa149ff0b3aa526f1524cd56 (diff)
downloadPrismLauncher-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.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();