mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 22:56:36 +09:00
make ResetConfirmDialog
properly utilise its parent's logic
Adjust name of `DeleteAction` to `DangerousAction`
This commit is contained in:
@ -17,7 +17,7 @@ namespace osu.Game.Overlays.Dialog
|
||||
/// <summary>
|
||||
/// The action which performs the deletion.
|
||||
/// </summary>
|
||||
protected Action? DeleteAction { get; set; }
|
||||
protected Action? DangerousAction { get; set; }
|
||||
|
||||
protected DangerousActionDialog()
|
||||
{
|
||||
@ -30,7 +30,7 @@ namespace osu.Game.Overlays.Dialog
|
||||
new PopupDialogDangerousButton
|
||||
{
|
||||
Text = DeleteConfirmationDialogStrings.Confirm,
|
||||
Action = () => DeleteAction?.Invoke()
|
||||
Action = () => DangerousAction?.Invoke()
|
||||
},
|
||||
new PopupDialogCancelButton
|
||||
{
|
||||
|
Reference in New Issue
Block a user