mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-14 19:15:05 -05:00
show confirm dialog directly when updating mods
This commit is contained in:
parent
100dbdc511
commit
8f1a9cf6a3
2 changed files with 1 additions and 2 deletions
|
@ -361,9 +361,7 @@ Result<ServerModVersion> ServerModVersion::parse(matjson::Value const& raw) {
|
||||||
}
|
}
|
||||||
|
|
||||||
Result<ServerModReplacement> ServerModReplacement::parse(matjson::Value const& raw) {
|
Result<ServerModReplacement> ServerModReplacement::parse(matjson::Value const& raw) {
|
||||||
log::info("entered replacement parse");
|
|
||||||
auto json = raw;
|
auto json = raw;
|
||||||
log::info("{}", json);
|
|
||||||
JsonChecker checker(json);
|
JsonChecker checker(json);
|
||||||
auto root = checker.root("ServerModReplacement").obj();
|
auto root = checker.root("ServerModReplacement").obj();
|
||||||
auto res = ServerModReplacement();
|
auto res = ServerModReplacement();
|
||||||
|
|
|
@ -206,6 +206,7 @@ void ModsStatusNode::updateState() {
|
||||||
|
|
||||||
m_viewBtn->setVisible(true);
|
m_viewBtn->setVisible(true);
|
||||||
m_viewBtn->setTarget(this, menu_selector(ModsStatusNode::onConfirm));
|
m_viewBtn->setTarget(this, menu_selector(ModsStatusNode::onConfirm));
|
||||||
|
askConfirmModInstalls();
|
||||||
} break;
|
} break;
|
||||||
|
|
||||||
case DownloadState::SomeFetching: {
|
case DownloadState::SomeFetching: {
|
||||||
|
|
Loading…
Reference in a new issue