From 8762714c23f5fd7dc451d1e3f30f6e412334fcad Mon Sep 17 00:00:00 2001 From: Fleeym <61891787+Fleeym@users.noreply.github.com> Date: Wed, 11 Oct 2023 19:56:33 +0300 Subject: [PATCH] only show update indicator if mod is enabled --- loader/src/loader/Index.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loader/src/loader/Index.cpp b/loader/src/loader/Index.cpp index 6340c360..ff1d4b1d 100644 --- a/loader/src/loader/Index.cpp +++ b/loader/src/loader/Index.cpp @@ -594,7 +594,7 @@ bool Index::isUpdateAvailable(IndexItemHandle item) const { bool Index::areUpdatesAvailable() const { for (auto& mod : Loader::get()->getAllMods()) { auto item = this->getMajorItem(mod->getID()); - if (item && item->getMetadata().getVersion() > mod->getVersion()) { + if (item && item->getMetadata().getVersion() > mod->getVersion() && mod->isEnabled()) { return true; } }