mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-07-30 02:57:10 +02:00
settings: add Show Confirm Exist toggle (#1856)
This commit is contained in:
parent
c3896bbef7
commit
bf4a184b88
8 changed files with 63 additions and 5 deletions
|
@ -907,7 +907,7 @@ namespace Ryujinx.Ui
|
|||
|
||||
private void Exit_Pressed(object sender, EventArgs args)
|
||||
{
|
||||
if (!_gameLoaded || GtkDialog.CreateExitDialog())
|
||||
if (!_gameLoaded || !ConfigurationState.Instance.ShowConfirmExit || GtkDialog.CreateExitDialog())
|
||||
{
|
||||
End();
|
||||
}
|
||||
|
@ -915,7 +915,7 @@ namespace Ryujinx.Ui
|
|||
|
||||
private void Window_Close(object sender, DeleteEventArgs args)
|
||||
{
|
||||
if (!_gameLoaded || GtkDialog.CreateExitDialog())
|
||||
if (!_gameLoaded || !ConfigurationState.Instance.ShowConfirmExit || GtkDialog.CreateExitDialog())
|
||||
{
|
||||
End();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue