GH-2544 enable Forge install button for >= 1.13
This commit is contained in:
parent
0281845fc8
commit
c9e851f12f
@ -206,7 +206,7 @@ void VersionPage::updateVersionControls()
|
|||||||
bool newCraft = controlsEnabled && (minecraftVersion >= Version("1.14"));
|
bool newCraft = controlsEnabled && (minecraftVersion >= Version("1.14"));
|
||||||
bool oldCraft = controlsEnabled && (minecraftVersion <= Version("1.12.2"));
|
bool oldCraft = controlsEnabled && (minecraftVersion <= Version("1.12.2"));
|
||||||
ui->actionInstall_Fabric->setEnabled(newCraft);
|
ui->actionInstall_Fabric->setEnabled(newCraft);
|
||||||
ui->actionInstall_Forge->setEnabled(oldCraft);
|
ui->actionInstall_Forge->setEnabled(true);
|
||||||
ui->actionInstall_LiteLoader->setEnabled(oldCraft);
|
ui->actionInstall_LiteLoader->setEnabled(oldCraft);
|
||||||
ui->actionReload->setEnabled(true);
|
ui->actionReload->setEnabled(true);
|
||||||
updateButtons();
|
updateButtons();
|
||||||
|
Loading…
Reference in New Issue
Block a user