From ea600e6716611fe8d821dababd38f0aba2fbbfde Mon Sep 17 00:00:00 2001 From: Delta <46466697+DeltaGW2@users.noreply.github.com> Date: Fri, 23 Feb 2024 02:18:01 +0100 Subject: [PATCH] fix uninstall button not showing for unloaded --- src/GUI/Widgets/Addons/AddonItem.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/GUI/Widgets/Addons/AddonItem.cpp b/src/GUI/Widgets/Addons/AddonItem.cpp index a30a129..245946d 100644 --- a/src/GUI/Widgets/Addons/AddonItem.cpp +++ b/src/GUI/Widgets/Addons/AddonItem.cpp @@ -121,7 +121,6 @@ namespace GUI } } } - if (aAddon->State == EAddonState::Loaded || aAddon->State == EAddonState::LoadedLOCKED) { amtBtns++; if (ImGui::GW2Button(("Uninstall##" + sig).c_str(), ImVec2(btnWidth * ImGui::GetFontSize(), btnHeight)))