From 9fead8262602b3c2061106fbfa2bf2e5874aae4b Mon Sep 17 00:00:00 2001 From: MgAl2O4 <51430403+MgAl2O4@users.noreply.github.com> Date: Thu, 30 Sep 2021 14:58:32 -0400 Subject: [PATCH] fix: handling installed plugins in category view, adjusted tags --- Dalamud/Interface/Internal/PluginCategoryManager.cs | 2 +- Dalamud/Interface/Internal/Windows/PluginInstallerWindow.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dalamud/Interface/Internal/PluginCategoryManager.cs b/Dalamud/Interface/Internal/PluginCategoryManager.cs index ff8a583c9..be6a56a33 100644 --- a/Dalamud/Interface/Internal/PluginCategoryManager.cs +++ b/Dalamud/Interface/Internal/PluginCategoryManager.cs @@ -24,7 +24,7 @@ namespace Dalamud.Interface.Internal new(FirstTagBasedCategoryId + 0, "other", () => Locs.Category_Other), new(FirstTagBasedCategoryId + 1, "jobs", () => Locs.Category_Jobs), new(FirstTagBasedCategoryId + 2, "ui", () => Locs.Category_UI), - new(FirstTagBasedCategoryId + 3, "minigame", () => Locs.Category_MiniGames), + new(FirstTagBasedCategoryId + 3, "minigames", () => Locs.Category_MiniGames), new(FirstTagBasedCategoryId + 4, "inventory", () => Locs.Category_Inventory), new(FirstTagBasedCategoryId + 5, "sound", () => Locs.Category_Sound), new(FirstTagBasedCategoryId + 6, "social", () => Locs.Category_Social), diff --git a/Dalamud/Interface/Internal/Windows/PluginInstallerWindow.cs b/Dalamud/Interface/Internal/Windows/PluginInstallerWindow.cs index ba95fe623..a2735f121 100644 --- a/Dalamud/Interface/Internal/Windows/PluginInstallerWindow.cs +++ b/Dalamud/Interface/Internal/Windows/PluginInstallerWindow.cs @@ -741,7 +741,7 @@ namespace Dalamud.Interface.Internal.Windows this.openPluginCollapsibles.Clear(); } - var filteredManifests = pluginList.Where(rm => !this.IsManifestFiltered(rm)); + var filteredManifests = pluginList.Where(rm => !this.IsManifestFiltered(rm) && !this.IsManifestInstalled(rm).IsInstalled); var categoryManifestsList = this.categoryManager.GetCurrentCategoryContent(filteredManifests); if (categoryManifestsList.Count > 0)