If a transition is from a section to the same section, the section was not placed into the transition text. This is appropriate if the transition is to a step, but not if it is to the section itself.

This commit is contained in:
Rich 2014-05-16 18:11:24 +00:00
parent e595471442
commit 19af9a0812

View File

@ -981,7 +981,8 @@ namespace VEPROMS.CSLA.Library
// if in same procedure and same section do not add it.
if (tb._ToItem.MyProcedure.ItemID == tb._FromItem.MyProcedure.ItemID &&
sect == TranGetSectionItem(tb._FromItem))
sect == TranGetSectionItem(tb._FromItem) &&
! tb._ToItem.IsSection)
return false;
// If a 'thru' range, only put out the section if it's to a different section