Changed logic to use ChangeIDs format flag and Editorial Change status to update the Change ID for a text element when a text element is changed.

This commit is contained in:
Rich 2014-06-20 14:08:51 +00:00
parent 9419fc36a6
commit f44fd9cdb3

View File

@ -675,7 +675,8 @@ namespace Volian.Controls.Library
// if the plant has the change id option, the change id was entered when the program started.
// this should be saved for every piece of edited data. Note that the set of config
// item Step_MultipleChangeID has the save built in to it.
if (MyItemInfo.ActiveFormat.PlantFormat.FormatData.ProcData.ChangeBarData.ChgBarMessageFromEdit)
if (MyItemInfo.ActiveFormat.PlantFormat.FormatData.ProcData.ChangeBarData.ChangeIds &&
!this.MyStepPanel.MyStepTabPanel.MyDisplayTabControl.EditorialChange)
{
StepConfig sc = itm.MyConfig as StepConfig;
if (sc == null)