mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-14 12:44:16 +01:00
Give users the choice to not switch (#916)
Co-authored-by: goat <goatsdev@protonmail.com>
This commit is contained in:
parent
8fcb80810b
commit
4cd15e938c
1 changed files with 3 additions and 2 deletions
|
|
@ -31,8 +31,8 @@ public class BranchSwitcherWindow : Window
|
||||||
public BranchSwitcherWindow()
|
public BranchSwitcherWindow()
|
||||||
: base("Branch Switcher", ImGuiWindowFlags.AlwaysAutoResize)
|
: base("Branch Switcher", ImGuiWindowFlags.AlwaysAutoResize)
|
||||||
{
|
{
|
||||||
this.ShowCloseButton = false;
|
this.ShowCloseButton = true;
|
||||||
this.RespectCloseHotkey = false;
|
this.RespectCloseHotkey = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <inheritdoc/>
|
/// <inheritdoc/>
|
||||||
|
|
@ -95,6 +95,7 @@ public class BranchSwitcherWindow : Window
|
||||||
if (ImGui.Button("Pick"))
|
if (ImGui.Button("Pick"))
|
||||||
{
|
{
|
||||||
Pick();
|
Pick();
|
||||||
|
this.IsOpen = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
ImGui.SameLine();
|
ImGui.SameLine();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue