fix to set displayhistory myedititem to null when item is deleted
This commit is contained in:
parent
39a0685edb
commit
44594cdd29
@ -287,6 +287,8 @@ namespace VEPROMS
|
||||
}
|
||||
private bool tv_DeleteItemInfo(object sender, vlnTreeItemInfoEventArgs args)
|
||||
{
|
||||
if (displayHistory.MyEditItem != null && displayHistory.MyItemInfo.ItemID == args.MyItemInfo.ItemID)
|
||||
displayHistory.MyEditItem = null;
|
||||
return tc.DeleteRTBItem(args.MyItemInfo);
|
||||
//if (si == null) return false;
|
||||
//si.RemoveItem();
|
||||
|
Loading…
x
Reference in New Issue
Block a user