B2025-031 Improve wording for if attempting to delete copied section #552
@ -3588,7 +3588,9 @@ namespace Volian.Controls.Library
|
|||||||
if (tmp.MyDisplayTabControl.MyCopyStep != null &&
|
if (tmp.MyDisplayTabControl.MyCopyStep != null &&
|
||||||
tmp.MyDisplayTabControl.MyCopyStep.ItemID == MyEditItem.MyItemInfo.ItemID)
|
tmp.MyDisplayTabControl.MyCopyStep.ItemID == MyEditItem.MyItemInfo.ItemID)
|
||||||
{
|
{
|
||||||
if (FlexibleMessageBox.Show("Are you sure?\n\nIf you delete this step you will not able to paste it.\nYou should paste it before you delete it.", "Attempting to delete copied step.", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.No) return;
|
//B2025-031 - Improve wording for if attempting to delete copied section
|
||||||
|
string stype = MyEditItem.MyItemInfo.IsSection ? "section" : "step";
|
||||||
|
if (FlexibleMessageBox.Show($"Are you sure?\n\nIf you delete this {stype} you will not able to paste it.\nYou should paste it before you delete it.", $"Attempting to delete copied {stype}.", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.No) return;
|
||||||
clearCopyStep = true;
|
clearCopyStep = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user