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:
parent
a176cc7e0d
commit
c535af5bc2
@ -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))
|
||||
|
@ -597,6 +597,7 @@ namespace Volian.Controls.Library
|
||||
myRTB.Clear();
|
||||
myVFG.Clear();
|
||||
MyEditItem.SetAllTabs();
|
||||
MyItemInfo.UpdateTransitionText();
|
||||
}
|
||||
}
|
||||
if (tn.Tag is ItemAuditInfo)
|
||||
|
@ -614,6 +614,8 @@ namespace Volian.Controls.Library
|
||||
_MyItem = null;
|
||||
OriginalText = modtext;
|
||||
}
|
||||
if (!_MyItemInfo.IsStep)
|
||||
_MyItemInfo.UpdateTransitionText();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user