mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-09-15 23:16:26 -04:00
Hoping this build may fix the issues...
This commit is contained in:
parent
c5005b9024
commit
a486d78df9
@ -150,7 +150,7 @@ bool LaunchController::askPlayDemo()
|
|||||||
if (box.clickedButton() == demoButton) {
|
if (box.clickedButton() == demoButton) {
|
||||||
return true;
|
return true;
|
||||||
} else if (box.clickedButton() == continueButton) {
|
} else if (box.clickedButton() == continueButton) {
|
||||||
return true;
|
return false;
|
||||||
} else {
|
} else {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -141,10 +141,11 @@ void AccountListPage::on_actionAddMicrosoft_triggered()
|
|||||||
|
|
||||||
void AccountListPage::on_actionAddOffline_triggered()
|
void AccountListPage::on_actionAddOffline_triggered()
|
||||||
{
|
{
|
||||||
// Deleted the logic to allow creation of
|
if (!m_accounts->anyAccountIsValid()) {
|
||||||
// Offline account
|
QMessageBox::warning(this, tr("Warning"), tr("Please be less broke next time and actually own Minecraft ;)"));
|
||||||
MinecraftAccountPtr account =
|
}
|
||||||
OfflineLoginDialog::newAccount(this, tr("Please enter your desired username to add your offline account."));
|
|
||||||
|
MinecraftAccountPtr account = OfflineLoginDialog::newAccount(this, tr("Please enter your desired username to add your offline account."));
|
||||||
|
|
||||||
if (account) {
|
if (account) {
|
||||||
m_accounts->addAccount(account);
|
m_accounts->addAccount(account);
|
||||||
@ -153,7 +154,6 @@ void AccountListPage::on_actionAddOffline_triggered()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void AccountListPage::on_actionRemove_triggered()
|
void AccountListPage::on_actionRemove_triggered()
|
||||||
{
|
{
|
||||||
auto response = CustomMessageBox::selectable(this, tr("Remove account?"), tr("Do you really want to delete this account?"),
|
auto response = CustomMessageBox::selectable(this, tr("Remove account?"), tr("Do you really want to delete this account?"),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user