Make OpenConfigUi jump to settings.

This commit is contained in:
Ottermandias 2024-04-05 14:51:55 +02:00
parent d81197a40f
commit e35f2816e2
2 changed files with 8 additions and 2 deletions

View file

@ -96,6 +96,12 @@ public class MainWindow : Window, IDisposable
IsOpen = _config.OpenWindowAtStart;
}
public void OpenSettings()
{
IsOpen = true;
SelectTab = TabType.Settings;
}
public override void PreDraw()
{
Flags = _config.Ephemeral.LockMainWindow