From d6db7507976763ecafbd92c9cc3fb3fd6081955d Mon Sep 17 00:00:00 2001 From: Octol1ttle Date: Tue, 12 May 2026 00:19:57 +0500 Subject: [PATCH] fix: do not open account select dialog if there are no valid accounts Signed-off-by: Octol1ttle --- launcher/LaunchController.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/launcher/LaunchController.cpp b/launcher/LaunchController.cpp index d263cc50a..8892a5466 100644 --- a/launcher/LaunchController.cpp +++ b/launcher/LaunchController.cpp @@ -109,7 +109,7 @@ void LaunchController::decideAccount() } } - if (!m_accountToUse) { + if (!m_accountToUse && accounts->anyAccountIsValid()) { // If no default account is set, ask the user which one to use. ProfileSelectDialog selectDialog(tr("Which account would you like to use?"), ProfileSelectDialog::GlobalDefaultCheckbox, m_parentWidget);