fix: do not open account select dialog if there are no valid accounts

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
Octol1ttle 2026-05-12 00:19:57 +05:00
parent ecc551b44e
commit d6db750797
No known key found for this signature in database
GPG key ID: B77C34313AEE1FFF

View file

@ -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);