diff options
author | Petr Mrázek <peterix@gmail.com> | 2015-04-15 03:12:57 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2015-04-15 03:12:57 +0200 |
commit | 3507ccaf50e22b68850f5b8a2072a56e218691f4 (patch) | |
tree | 3c75129bf486bbc8f10f4bedcf74b2914e0b1b31 /application/pages | |
parent | 28aa8f342ebaf34655ed0c1dd59851adb224fc64 (diff) | |
download | MultiMC-3507ccaf50e22b68850f5b8a2072a56e218691f4.tar MultiMC-3507ccaf50e22b68850f5b8a2072a56e218691f4.tar.gz MultiMC-3507ccaf50e22b68850f5b8a2072a56e218691f4.tar.lz MultiMC-3507ccaf50e22b68850f5b8a2072a56e218691f4.tar.xz MultiMC-3507ccaf50e22b68850f5b8a2072a56e218691f4.zip |
GH-866 load instance profile on launch and from version page
Diffstat (limited to 'application/pages')
-rw-r--r-- | application/pages/VersionPage.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/application/pages/VersionPage.cpp b/application/pages/VersionPage.cpp index c2380163..6b220017 100644 --- a/application/pages/VersionPage.cpp +++ b/application/pages/VersionPage.cpp @@ -62,6 +62,8 @@ VersionPage::VersionPage(OneSixInstance *inst, QWidget *parent) ui->setupUi(this); ui->tabWidget->tabBar()->hide(); + reloadMinecraftProfile(); + m_version = m_inst->getMinecraftProfile(); if (m_version) { @@ -119,7 +121,7 @@ bool VersionPage::reloadMinecraftProfile() { QMessageBox::critical( this, tr("Error"), - tr("Failed to load the version description file for reasons unknown.")); + tr("Couldn't load the instance profile.")); return false; } } |