GP-3975 Corrected StructureDB component type parent tracking issue for

replace by ordinal
This commit is contained in:
ghidra1 2023-10-26 16:13:43 -04:00
parent e832fc2a10
commit 9d52aeeeb6
2 changed files with 81 additions and 0 deletions

View file

@ -1317,6 +1317,8 @@ class StructureDB extends CompositeDB implements StructureInternal {
(!isPackingEnabled() || dataType.getAlignment() == oldDt.getAlignment())) {
oldComponent.update(componentName, dataType, comment);
oldDt.removeParent(this);
dataType.addParent(this);
setLastChangeTime(System.currentTimeMillis());
dataMgr.dataTypeChanged(this, false);