fix: do not show the "profile select" dialog if the user refused to add an account
This commit is contained in:
parent
d7fad4bd04
commit
9d8b95107d
@ -105,6 +105,11 @@ void LaunchController::decideAccount()
|
|||||||
// Open the account manager.
|
// Open the account manager.
|
||||||
APPLICATION->ShowGlobalSettings(m_parentWidget, "accounts");
|
APPLICATION->ShowGlobalSettings(m_parentWidget, "accounts");
|
||||||
}
|
}
|
||||||
|
else if (reply == QMessageBox::No)
|
||||||
|
{
|
||||||
|
// Do not open "profile select" dialog.
|
||||||
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
m_accountToUse = accounts->defaultAccount();
|
m_accountToUse = accounts->defaultAccount();
|
||||||
|
Loading…
Reference in New Issue
Block a user