From 95f57c38ce13983a22de3bbab2490a049e0a0e06 Mon Sep 17 00:00:00 2001 From: Raymond Date: Tue, 14 Sep 2021 07:56:48 -0400 Subject: [PATCH] fix: update single plugin button did not check if testing --- .../Interface/Internal/Windows/PluginInstallerWindow.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Dalamud/Interface/Internal/Windows/PluginInstallerWindow.cs b/Dalamud/Interface/Internal/Windows/PluginInstallerWindow.cs index d55e70946..eb412653e 100644 --- a/Dalamud/Interface/Internal/Windows/PluginInstallerWindow.cs +++ b/Dalamud/Interface/Internal/Windows/PluginInstallerWindow.cs @@ -1378,7 +1378,12 @@ namespace Dalamud.Interface.Internal.Windows } if (ImGui.IsItemHovered()) - ImGui.SetTooltip(Locs.PluginButtonToolTip_UpdateSingle(update.UpdateManifest.AssemblyVersion.ToString())); + { + var updateVersion = update.UseTesting + ? update.UpdateManifest.TestingAssemblyVersion + : update.UpdateManifest.AssemblyVersion; + ImGui.SetTooltip(Locs.PluginButtonToolTip_UpdateSingle(updateVersion.ToString())); + } } private void DrawOpenPluginSettingsButton(LocalPlugin plugin)