Show texture/resource packs when appropriate.
This commit is contained in:
parent
223a7aba7b
commit
bf7b070508
10 changed files with 141 additions and 102 deletions
|
@ -368,7 +368,8 @@ void VersionPage::versionCurrent(const QModelIndex ¤t, const QModelIndex &
|
|||
ui->moveLibraryDownBtn->setEnabled(enabled);
|
||||
ui->moveLibraryUpBtn->setEnabled(enabled);
|
||||
}
|
||||
if(m_version->versionFileId(current.row()) == "net.minecraft")
|
||||
QString selectedId = m_version->versionFileId(current.row());
|
||||
if(selectedId == "net.minecraft" || selectedId == "org.multimc.custom.json")
|
||||
{
|
||||
ui->changeMCVersionBtn->setEnabled(true);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue