mirror of
https://github.com/ppy/osu.git
synced 2026-05-21 01:00:27 +08:00
Merge branch 'master' into editor-clipboard
This commit is contained in:
@@ -403,7 +403,7 @@ namespace osu.Game.Screens.Edit
|
||||
|
||||
public override bool OnExiting(IScreen next)
|
||||
{
|
||||
if (!exitConfirmed && dialogOverlay != null && HasUnsavedChanges)
|
||||
if (!exitConfirmed && dialogOverlay != null && HasUnsavedChanges && !(dialogOverlay.CurrentDialog is PromptForSaveDialog))
|
||||
{
|
||||
dialogOverlay?.Push(new PromptForSaveDialog(confirmExit, confirmExitWithSave));
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user