mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-11-19 09:21:15 +01:00
Rollback the CreateExitDialog function that was lost with auto updater
This commit is contained in:
1 parent
ce87650d81
commit
ace67ed324
2 files changed
+6
-1
No files matched your search
@@ -142,7 +142,7 @@ namespace Ryujinx.Ui
|
||||
{
|
||||
if (keyboard.IsKeyDown(OpenTK.Input.Key.Escape))
|
||||
{
|
||||
if (GtkDialog.CreateChoiceDialog("Ryujinx - Exit", "Are you sure you want to stop emulation?", "All unsaved data will be lost!"))
|
||||
if (GtkDialog.CreateExitDialog())
|
||||
{
|
||||
Exit();
|
||||
}
|
||||
|
||||
@@ -56,5 +56,10 @@ namespace Ryujinx.Ui
|
||||
|
||||
return response == ResponseType.Yes;
|
||||
}
|
||||
|
||||
internal static bool CreateExitDialog()
|
||||
{
|
||||
return CreateChoiceDialog("Ryujinx - Exit", "Are you sure you want to stop emulation?", "All unsaved data will be lost!");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user