diff options
author | Petr Mrázek <peterix@gmail.com> | 2013-10-07 23:09:50 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2013-10-08 01:38:26 +0200 |
commit | a58912eaf7e98c1bc9e960fbf77b6293e57c28a1 (patch) | |
tree | 7408fbdb67054ba5ffec8341658ea391d1f4b4c5 /gui/mainwindow.cpp | |
parent | 346087efbb1eadf462b8b448a0d4c0458d3a2c0c (diff) | |
download | MultiMC-a58912eaf7e98c1bc9e960fbf77b6293e57c28a1.tar MultiMC-a58912eaf7e98c1bc9e960fbf77b6293e57c28a1.tar.gz MultiMC-a58912eaf7e98c1bc9e960fbf77b6293e57c28a1.tar.lz MultiMC-a58912eaf7e98c1bc9e960fbf77b6293e57c28a1.tar.xz MultiMC-a58912eaf7e98c1bc9e960fbf77b6293e57c28a1.zip |
Basic version changing (OneSix only for now)
Diffstat (limited to 'gui/mainwindow.cpp')
-rw-r--r-- | gui/mainwindow.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gui/mainwindow.cpp b/gui/mainwindow.cpp index 080ce4b2..70d26e02 100644 --- a/gui/mainwindow.cpp +++ b/gui/mainwindow.cpp @@ -602,6 +602,7 @@ void MainWindow::on_actionChangeInstMCVersion_triggered() VersionSelectDialog vselect(m_selectedInstance->versionList().get(), tr("Change Minecraft version"), this); + vselect.setFilter(1, "OneSix"); if (vselect.exec() && vselect.selectedVersion()) { m_selectedInstance->setIntendedVersionId(vselect.selectedVersion()->descriptor()); @@ -646,6 +647,8 @@ void MainWindow::instanceChanged(const QModelIndex ¤t, const QModelIndex & m_selectedInstance->menuActionEnabled("actionChangeInstLWJGLVersion")); ui->actionEditInstMods->setEnabled( m_selectedInstance->menuActionEnabled("actionEditInstMods")); + ui->actionChangeInstMCVersion->setEnabled( + m_selectedInstance->menuActionEnabled("actionChangeInstMCVersion")); statusBar()->clearMessage(); statusBar()->showMessage(m_selectedInstance->getStatusbarDescription()); auto ico = MMC->icons()->getIcon(iconKey); |