ui: Disallow checking for updates while emulation active (#3886)

* Disallow updating while game is running

* Reflected change on Avalonia

* Git has gone wonky

* Fix accidental indent
This commit is contained in:
Ethan Page 2022-12-04 14:17:11 -05:00 committed by GitHub
parent 17a1cab5d2
commit 5c0fb0cec3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View file

@ -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();
}