mirror of
https://github.com/ppy/osu
synced 2024-12-16 20:05:41 +00:00
Abort operation on save failure
This commit is contained in:
parent
b6741ee4ea
commit
b0d6c8ca6d
@ -1135,7 +1135,8 @@ namespace osu.Game.Screens.Edit
|
||||
|
||||
private void editExternally()
|
||||
{
|
||||
Save();
|
||||
if (!Save())
|
||||
return;
|
||||
|
||||
var editOperation = beatmapManager.BeginExternalEditing(editorBeatmap.BeatmapInfo.BeatmapSet!);
|
||||
this.Push(new ExternalEditScreen(editOperation, this));
|
||||
|
Loading…
Reference in New Issue
Block a user