mirror of
https://github.com/osukey/osukey.git
synced 2025-08-02 22:26:41 +09:00
make ResetConfirmDialog
properly utilise its parent's logic
Adjust name of `DeleteAction` to `DangerousAction`
This commit is contained in:
@ -12,7 +12,7 @@ namespace osu.Game.Overlays.Mods
|
||||
public DeleteModPresetDialog(Live<ModPreset> modPreset)
|
||||
{
|
||||
BodyText = modPreset.PerformRead(preset => preset.Name);
|
||||
DeleteAction = () => modPreset.PerformWrite(preset => preset.DeletePending = true);
|
||||
DangerousAction = () => modPreset.PerformWrite(preset => preset.DeletePending = true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user