mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
Do not open account select dialog if there are no accounts (#5535)
This commit is contained in:
commit
8d8951475c
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue