Added logic to protect against failures when an invalid transition text is removed.
Added logic to protect against failures when an invalid transition text is selected.
This commit is contained in:
@@ -195,6 +195,9 @@ namespace Volian.Controls.Library
|
||||
// figure out whether at same level, have same parent and have same HLS:
|
||||
ItemInfo itm1 = _CurTrans.MyItemToID;
|
||||
ItemInfo itm2 = _CurTrans.MyItemRangeID;
|
||||
// Invalid existing transition
|
||||
if (itm2.ActiveParent == null || itm1.ActiveParent == null)
|
||||
return;
|
||||
//if (_CurTrans.TranType == 2 && itm1.ItemID == itm2.ItemID) itm2 = itm1.LastSibling;
|
||||
bool samHLS = itm1.MyHLS.ItemID == itm2.MyHLS.ItemID;
|
||||
int lev1 = 0;
|
||||
|
Reference in New Issue
Block a user