Open main window when selecting tab.

This commit is contained in:
Ottermandias 2023-11-11 13:56:38 +01:00
parent 823a8606d3
commit 8ba6a9fa33

View file

@ -154,7 +154,10 @@ public class MainWindow : Window, IDisposable
} }
private void OnTabSelected(TabType type, Design? _) private void OnTabSelected(TabType type, Design? _)
=> SelectTab = type; {
SelectTab = type;
IsOpen = true;
}
private static string GetLabel() private static string GetLabel()
=> Glamourer.Version.Length == 0 => Glamourer.Version.Length == 0