From 3507ccaf50e22b68850f5b8a2072a56e218691f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Wed, 15 Apr 2015 03:12:57 +0200 Subject: GH-866 load instance profile on launch and from version page --- application/pages/VersionPage.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'application/pages/VersionPage.cpp') 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; } } -- cgit v1.2.3