From 8f1a9cf6a302902e1499f9ecdd9ec42990ac73b1 Mon Sep 17 00:00:00 2001 From: matcool <26722564+matcool@users.noreply.github.com> Date: Sun, 16 Jun 2024 17:20:36 -0300 Subject: [PATCH] show confirm dialog directly when updating mods --- loader/src/server/Server.cpp | 2 -- loader/src/ui/mods/ModsLayer.cpp | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/loader/src/server/Server.cpp b/loader/src/server/Server.cpp index 18d9e0cd..cf0c0d71 100644 --- a/loader/src/server/Server.cpp +++ b/loader/src/server/Server.cpp @@ -361,9 +361,7 @@ Result ServerModVersion::parse(matjson::Value const& raw) { } Result ServerModReplacement::parse(matjson::Value const& raw) { - log::info("entered replacement parse"); auto json = raw; - log::info("{}", json); JsonChecker checker(json); auto root = checker.root("ServerModReplacement").obj(); auto res = ServerModReplacement(); diff --git a/loader/src/ui/mods/ModsLayer.cpp b/loader/src/ui/mods/ModsLayer.cpp index 82518210..d5308f2f 100644 --- a/loader/src/ui/mods/ModsLayer.cpp +++ b/loader/src/ui/mods/ModsLayer.cpp @@ -206,6 +206,7 @@ void ModsStatusNode::updateState() { m_viewBtn->setVisible(true); m_viewBtn->setTarget(this, menu_selector(ModsStatusNode::onConfirm)); + askConfirmModInstalls(); } break; case DownloadState::SomeFetching: {