mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
Give users the choice to not switch (#916)
Co-authored-by: goat <goatsdev@protonmail.com>
This commit is contained in:
parent
85668a9943
commit
098607cca8
1 changed files with 3 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
|
|
@ -95,6 +95,7 @@ public class BranchSwitcherWindow : Window
|
|||
if (ImGui.Button("Pick"))
|
||||
{
|
||||
Pick();
|
||||
this.IsOpen = false;
|
||||
}
|
||||
|
||||
ImGui.SameLine();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue