mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-11-20 17:11:57 +00:00
Reload version after removing custom.json
This commit is contained in:
parent
cdd35910c3
commit
ac2f64f337
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user