mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-11-19 09:21:15 +01:00
Add Ctrl+Comma shortcut for settings
See merge request kenji-nx/ryujinx!2
This commit is contained in:
1 parent
f15ddcf9c4
commit
f6351e3fff
4 files changed
+16
-13
No files matched your search
@@ -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