From c515d249fe2abc81cbcee07ad3973085063b0b65 Mon Sep 17 00:00:00 2001 From: goat Date: Sat, 20 Aug 2022 19:05:50 +0200 Subject: [PATCH 1/2] build: 6.4.0.44 --- Dalamud/Dalamud.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dalamud/Dalamud.csproj b/Dalamud/Dalamud.csproj index 85fa7e4ac..95477634c 100644 --- a/Dalamud/Dalamud.csproj +++ b/Dalamud/Dalamud.csproj @@ -8,7 +8,7 @@ - 6.4.0.43 + 6.4.0.44 XIV Launcher addon framework $(DalamudVersion) $(DalamudVersion) From d59eec195e1e3bd7ede68413f6ac5f8297d712ac Mon Sep 17 00:00:00 2001 From: Aireil <33433913+Aireil@users.noreply.github.com> Date: Sun, 21 Aug 2022 18:51:46 +0200 Subject: [PATCH 2/2] feat: disable sort on changelog tab (#963) --- .../Windows/PluginInstaller/PluginInstallerWindow.cs | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Dalamud/Interface/Internal/Windows/PluginInstaller/PluginInstallerWindow.cs b/Dalamud/Interface/Internal/Windows/PluginInstaller/PluginInstallerWindow.cs index 003c26105..caf99c455 100644 --- a/Dalamud/Interface/Internal/Windows/PluginInstaller/PluginInstallerWindow.cs +++ b/Dalamud/Interface/Internal/Windows/PluginInstaller/PluginInstallerWindow.cs @@ -45,7 +45,7 @@ namespace Dalamud.Interface.Internal.Windows.PluginInstaller private readonly List openPluginCollapsibles = new(); private readonly DateTime timeLoaded; - + #region Image Tester State private string[] testerImagePaths = new string[5]; @@ -226,7 +226,9 @@ namespace Dalamud.Interface.Internal.Windows.PluginInstaller /// public void OpenPluginChangelogs() { + // Changelog group this.categoryManager.CurrentGroupIdx = 3; + // Plugins category this.categoryManager.CurrentCategoryIdx = 2; this.IsOpen = true; } @@ -400,6 +402,11 @@ namespace Dalamud.Interface.Internal.Windows.PluginInstaller if (searchTextChanged) this.UpdateCategoriesOnSearchChange(); + // Changelog group + var isSortDisabled = this.categoryManager.CurrentGroupIdx == 3; + if (isSortDisabled) + ImGui.BeginDisabled(); + ImGui.SameLine(); ImGui.SetCursorPosY(downShift); ImGui.SetNextItemWidth(selectableWidth); @@ -418,6 +425,9 @@ namespace Dalamud.Interface.Internal.Windows.PluginInstaller ImGui.EndCombo(); } + + if (isSortDisabled) + ImGui.EndDisabled(); } private void DrawFooter()