mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-30 18:36:58 +03:00
fix: offline access
This commit is contained in:
parent
803115cfde
commit
871130271e
1 changed files with 0 additions and 8 deletions
|
|
@ -140,14 +140,6 @@ void AccountListPage::on_actionAddMicrosoft_triggered()
|
|||
|
||||
void AccountListPage::on_actionAddOffline_triggered()
|
||||
{
|
||||
if (!m_accounts->anyAccountIsValid()) {
|
||||
QMessageBox::warning(this, tr("Error"),
|
||||
tr("You must add a Microsoft account that owns Minecraft before you can add an offline account."
|
||||
"<br><br>"
|
||||
"If you have lost your account you can contact Microsoft for support."));
|
||||
return;
|
||||
}
|
||||
|
||||
ChooseOfflineNameDialog dialog(tr("Please enter your desired username to add your offline account."), this);
|
||||
if (dialog.exec() != QDialog::Accepted) {
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue