B2017-159: Don’t allow paste of step that was deleted by clearing its text.
This commit is contained in:
parent
df959efb79
commit
a223b72423
@ -953,6 +953,13 @@ namespace Volian.Controls.Library
|
|||||||
HandleSqlExceptionOnDelete(ex);
|
HandleSqlExceptionOnDelete(ex);
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
// B2017-159: Don't allow paste if this deleted item is in paste buffer:
|
||||||
|
if (MyStepPanel.MyStepTabPanel.MyDisplayTabControl.MyCopyStep != null && MyStepPanel.MyStepTabPanel.MyDisplayTabControl.MyCopyStep.ItemID == MyItemInfo.ItemID)
|
||||||
|
{
|
||||||
|
MyStepPanel.MyStepTabPanel.MyDisplayTabControl.MyCopyStep = null;
|
||||||
|
MyStepPanel.MyStepTabPanel.MyStepTabRibbon.SetPasteButtons(false);
|
||||||
|
}
|
||||||
|
|
||||||
// Remove EditItems
|
// Remove EditItems
|
||||||
//_MyTimer.ActiveProcess = "RemoveFromParentsChildList";
|
//_MyTimer.ActiveProcess = "RemoveFromParentsChildList";
|
||||||
RemoveFromParentsChildList();
|
RemoveFromParentsChildList();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user