1
1
mirror of https://github.com/ryujinx-mirror/ryujinx.git synced 2025-08-30 18:56:26 -05:00

settings: add Show Confirm Exist toggle (#1856)

This commit is contained in:
Bruno Macabeus
2021-01-14 22:30:52 +00:00
committed by GitHub
parent 5be6ec6364
commit 1e5b37c94f
8 changed files with 63 additions and 5 deletions

View File

@@ -154,7 +154,7 @@ namespace Ryujinx.Ui
{
if (keyboard.IsKeyDown(OpenTK.Input.Key.Escape))
{
if (GtkDialog.CreateExitDialog())
if (!ConfigurationState.Instance.ShowConfirmExit || GtkDialog.CreateExitDialog())
{
Exit();
}