Fixed a bug when adding a list of new components using a script file, ver. 2.18.1010
This commit is contained in:
parent
63871c9bcc
commit
5da9b1e94e
@ -351,6 +351,7 @@ namespace TBF
|
||||
if (UpdateCfg(ref cfg, words, ref zeroBasedIdx))
|
||||
{
|
||||
flags |= CfgUpdateFlags.RestartRqrd;
|
||||
cfg.ItemNr = (cmpntEntities.Count > 0) ? (cmpntEntities[cmpntEntities.Count - 1].ItemNr + 1) : 1;
|
||||
AddOne(cfg.CreateDbEntity());
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user