diff options
author | Ethan Page <88117372+ethanriverpage@users.noreply.github.com> | 2022-12-04 14:17:11 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-04 20:17:11 +0100 |
commit | 5c0fb0cec30028a155a48ed0b9569abc6ec4c13b (patch) | |
tree | 423a81936f6d79cc92abfd537a4939d4e98e6906 /Ryujinx/Ui/MainWindow.cs | |
parent | 17a1cab5d29787f3b41f40a69b530dae4e3cb25f (diff) |
ui: Disallow checking for updates while emulation active (#3886)1.1.422
* Disallow updating while game is running
* Reflected change on Avalonia
* Git has gone wonky
* Fix accidental indent
Diffstat (limited to 'Ryujinx/Ui/MainWindow.cs')
-rw-r--r-- | Ryujinx/Ui/MainWindow.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Ryujinx/Ui/MainWindow.cs b/Ryujinx/Ui/MainWindow.cs index 9f9016b9..5216c774 100644 --- a/Ryujinx/Ui/MainWindow.cs +++ b/Ryujinx/Ui/MainWindow.cs @@ -862,6 +862,7 @@ namespace Ryujinx.Ui _gameLoaded = true; _actionMenu.Sensitive = true; + UpdateMenuItem.Sensitive = false; _lastScannedAmiiboId = ""; @@ -1333,6 +1334,7 @@ namespace Ryujinx.Ui _pauseEmulation.Sensitive = false; _resumeEmulation.Sensitive = false; + UpdateMenuItem.Sensitive = true; RendererWidget?.Exit(); } |