summaryrefslogtreecommitdiffstats
path: root/gui/dialogs
diff options
context:
space:
mode:
authorJan Dalheimer <jan@dalheimer.de>2014-02-03 20:42:04 +0100
committerJan Dalheimer <jan@dalheimer.de>2014-02-03 20:42:04 +0100
commitac2f64f3373f37e4ba039d4395857f59ca7975af (patch)
tree2df0eeaf07ccb82d89a7d3a2a1fd10da1ccbbfe9 /gui/dialogs
parentcdd35910c3aeb4048e2e982db0b8227f76574704 (diff)
downloadMultiMC-ac2f64f3373f37e4ba039d4395857f59ca7975af.tar
MultiMC-ac2f64f3373f37e4ba039d4395857f59ca7975af.tar.gz
MultiMC-ac2f64f3373f37e4ba039d4395857f59ca7975af.tar.lz
MultiMC-ac2f64f3373f37e4ba039d4395857f59ca7975af.tar.xz
MultiMC-ac2f64f3373f37e4ba039d4395857f59ca7975af.zip
Reload version after removing custom.json
Diffstat (limited to 'gui/dialogs')
-rw-r--r--gui/dialogs/OneSixModEditDialog.cpp2
1 files changed, 2 insertions, 0 deletions
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))