mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-09-20 17:51:13 +02:00
Add Ctrl+Comma shortcut for settings
See merge request kenji-nx/ryujinx!2
This commit is contained in:
@@ -2206,6 +2206,18 @@ namespace Ryujinx.Ava.UI.ViewModels
|
||||
IsFullScreen = WindowState == WindowState.FullScreen;
|
||||
}
|
||||
|
||||
public async void OpenSettings()
|
||||
{
|
||||
Window.SettingsWindow = new(Window.VirtualFileSystem, Window.ContentManager);
|
||||
|
||||
await Window.SettingsWindow.ShowDialog(Window);
|
||||
|
||||
Window.SettingsWindow = null;
|
||||
|
||||
LoadConfigurableHotKeys();
|
||||
|
||||
}
|
||||
|
||||
public static void SaveConfig()
|
||||
{
|
||||
ConfigurationState.Instance.ToFileFormat().SaveConfig(Program.ConfigurationPath);
|
||||
|
||||
Reference in New Issue
Block a user