From ac2f64f3373f37e4ba039d4395857f59ca7975af Mon Sep 17 00:00:00 2001 From: Jan Dalheimer Date: Mon, 3 Feb 2014 20:42:04 +0100 Subject: Reload version after removing custom.json --- gui/dialogs/OneSixModEditDialog.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gui/dialogs/OneSixModEditDialog.cpp') diff --git a/gui/dialogs/OneSixModEditDialog.cpp b/gui/dialogs/OneSixModEditDialog.cpp index 41ac5d8d..1b61771d 100644 --- a/gui/dialogs/OneSixModEditDialog.cpp +++ b/gui/dialogs/OneSixModEditDialog.cpp @@ -138,6 +138,7 @@ void OneSixModEditDialog::on_forgeBtn_clicked() return; } QDir(m_inst->instanceRoot()).remove("custom.json"); + m_inst->reloadVersion(this); } VersionSelectDialog vselect(MMC->forgelist().get(), tr("Select Forge version"), this); vselect.setFilter(1, m_inst->currentVersionId()); @@ -194,6 +195,7 @@ void OneSixModEditDialog::on_liteloaderBtn_clicked() return; } QDir(m_inst->instanceRoot()).remove("custom.json"); + m_inst->reloadVersion(this); } LiteLoaderInstaller liteloader; if (!liteloader.canApply(m_inst)) -- cgit v1.2.3