GH-2544 enable Forge install button for >= 1.13

This commit is contained in:
Petr Mrázek 2020-03-28 15:55:12 +01:00
parent 0281845fc8
commit c9e851f12f

View File

@ -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();