Changed UpdateTransitionText to support changes to Procedures or Sections.

Update related transition text if content is restored for Procedures or Sections.
Changed code that saves changes to section and procedure titles to update related transition text.
This commit is contained in:
Rich 2014-01-17 21:17:47 +00:00
parent a176cc7e0d
commit c535af5bc2
3 changed files with 4 additions and 1 deletions

View File

@ -551,7 +551,7 @@ namespace VEPROMS.CSLA.Library
public void UpdateTransitionText()
{
// Update Ordinals from here down for Steps
if (!IsStep) return;
//if (!IsStep) return;
ResetOrdinal();
// This returns a list of all of the transitions that may have been affected
using(TransitionInfoList trans = TransitionInfoList.GetAffected(this.ItemID))

View File

@ -597,6 +597,7 @@ namespace Volian.Controls.Library
myRTB.Clear();
myVFG.Clear();
MyEditItem.SetAllTabs();
MyItemInfo.UpdateTransitionText();
}
}
if (tn.Tag is ItemAuditInfo)

View File

@ -614,6 +614,8 @@ namespace Volian.Controls.Library
_MyItem = null;
OriginalText = modtext;
}
if (!_MyItemInfo.IsStep)
_MyItemInfo.UpdateTransitionText();
}
catch (Exception ex)
{