Save the ChangeID when a table is modified.
This commit is contained in:
parent
77c9897096
commit
38a05ec657
@ -670,7 +670,10 @@ namespace Volian.Controls.Library
|
|||||||
if (MyItemInfo.ActiveFormat.PlantFormat.FormatData.ProcData.ChangeBarData.ChgBarMessageFromEdit)
|
if (MyItemInfo.ActiveFormat.PlantFormat.FormatData.ProcData.ChangeBarData.ChgBarMessageFromEdit)
|
||||||
{
|
{
|
||||||
StepConfig sc = itm.MyConfig as StepConfig;
|
StepConfig sc = itm.MyConfig as StepConfig;
|
||||||
|
if (sc == null)
|
||||||
|
sc = new StepConfig();
|
||||||
sc.Step_ChangeID = this.MyStepPanel.MyStepTabPanel.MyDisplayTabControl.ChgId;
|
sc.Step_ChangeID = this.MyStepPanel.MyStepTabPanel.MyDisplayTabControl.ChgId;
|
||||||
|
if (itm.MyConfig == null) itm.MyContent.Config = sc.ToString();
|
||||||
}
|
}
|
||||||
|
|
||||||
itm.Save();
|
itm.Save();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user