Compare commits

..

No commits in common. "e90fceca86f5640c01608de162fd50446dcce86a" and "1ba4c4f343df1f8abfe75a775eebcfa6546a2dc3" have entirely different histories.

View File

@ -3588,9 +3588,7 @@ 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)
{ {
//B2025-031 - Improve wording for if attempting to delete copied section 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;
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;
} }