diff options
Diffstat (limited to 'UVtools.GUI/Forms/FrmMutation.cs')
-rw-r--r-- | UVtools.GUI/Forms/FrmMutation.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/UVtools.GUI/Forms/FrmMutation.cs b/UVtools.GUI/Forms/FrmMutation.cs index e8ba854..24035e4 100644 --- a/UVtools.GUI/Forms/FrmMutation.cs +++ b/UVtools.GUI/Forms/FrmMutation.cs @@ -207,7 +207,8 @@ namespace UVtools.GUI.Forms } } - if (MessageBox.Show($"Are you sure you want to {Mutation.Mutate}?", Text, MessageBoxButtons.YesNo, + var operationName = string.IsNullOrEmpty(Mutation.MenuName) ? Mutation.Mutate.ToString() : Mutation.MenuName; + if (MessageBox.Show($"Are you sure you want to {operationName}?", Text, MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes) { DialogResult = DialogResult.OK; |