Hardcode LWJGL 2.9.1 for OneSix, only allow chancging Minecraft versions for now.

This commit is contained in:
Petr Mrázek
2014-06-08 19:01:19 +02:00
parent 84ae67fff5
commit 223a7aba7b
2 changed files with 10 additions and 1 deletions

View File

@ -368,4 +368,12 @@ void VersionPage::versionCurrent(const QModelIndex &current, const QModelIndex &
ui->moveLibraryDownBtn->setEnabled(enabled);
ui->moveLibraryUpBtn->setEnabled(enabled);
}
if(m_version->versionFileId(current.row()) == "net.minecraft")
{
ui->changeMCVersionBtn->setEnabled(true);
}
else
{
ui->changeMCVersionBtn->setEnabled(false);
}
}