From 4cd15e938cc454f365e9531cfea10c44f3e0795c Mon Sep 17 00:00:00 2001 From: Infi Date: Wed, 13 Jul 2022 21:27:10 +0200 Subject: [PATCH] Give users the choice to not switch (#916) Co-authored-by: goat --- Dalamud/Interface/Internal/Windows/BranchSwitcherWindow.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dalamud/Interface/Internal/Windows/BranchSwitcherWindow.cs b/Dalamud/Interface/Internal/Windows/BranchSwitcherWindow.cs index bdff07e3e..7f5f83bc0 100644 --- a/Dalamud/Interface/Internal/Windows/BranchSwitcherWindow.cs +++ b/Dalamud/Interface/Internal/Windows/BranchSwitcherWindow.cs @@ -31,8 +31,8 @@ public class BranchSwitcherWindow : Window public BranchSwitcherWindow() : base("Branch Switcher", ImGuiWindowFlags.AlwaysAutoResize) { - this.ShowCloseButton = false; - this.RespectCloseHotkey = false; + this.ShowCloseButton = true; + this.RespectCloseHotkey = true; } /// @@ -95,6 +95,7 @@ public class BranchSwitcherWindow : Window if (ImGui.Button("Pick")) { Pick(); + this.IsOpen = false; } ImGui.SameLine();