From ec3923fb0f319e51253eaa4239e675bb73e71cf9 Mon Sep 17 00:00:00 2001 From: goat <16760685+goaaats@users.noreply.github.com> Date: Sat, 4 Sep 2021 22:55:50 +0200 Subject: [PATCH] fix: prefer update icon over trouble icon --- .../Internal/Windows/PluginInstallerWindow.cs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Dalamud/Interface/Internal/Windows/PluginInstallerWindow.cs b/Dalamud/Interface/Internal/Windows/PluginInstallerWindow.cs index afaf3e80f..6da0d4cbf 100644 --- a/Dalamud/Interface/Internal/Windows/PluginInstallerWindow.cs +++ b/Dalamud/Interface/Internal/Windows/PluginInstallerWindow.cs @@ -851,18 +851,18 @@ namespace Dalamud.Interface.Internal.Windows ImGui.Image(iconTex.ImGuiHandle, iconSize); ImGui.SameLine(); - if (trouble) - { - ImGui.SetCursorPos(cursorBeforeImage); - ImGui.Image(this.troubleIcon.ImGuiHandle, iconSize); - ImGui.SameLine(); - } - else if (updateAvailable) + if (updateAvailable) { ImGui.SetCursorPos(cursorBeforeImage); ImGui.Image(this.updateIcon.ImGuiHandle, iconSize); ImGui.SameLine(); } + else if (trouble) + { + ImGui.SetCursorPos(cursorBeforeImage); + ImGui.Image(this.troubleIcon.ImGuiHandle, iconSize); + ImGui.SameLine(); + } ImGuiHelpers.ScaledDummy(5); ImGui.SameLine();