B 2016-253 Fixed a crash after clicking on the Section drop-down when on a through transition.

This commit is contained in:
Rich 2016-11-03 15:06:18 +00:00
parent f65d364f57
commit c6da832041

View File

@ -79,6 +79,7 @@ namespace Volian.Controls.Library
if (_II_Section != cbTranSects.SelectedIndex) return true;
// Use VEObject
if(tvTran.Nodes.Count == 0) return true;//B2016-173 If no nodes then the transtion is to a MS Word Section
if (tvTran.SelectedNode != null) // B2016-253
if(_II_ItemID != ((tvTran.SelectedNode as VETreeNode).VEObject as ItemInfo).ItemID) return true;
return false;
}