Merge remote-tracking branch 'origin/GP-3975_ghidra1_StructureDBParentTracking' into patch

This commit is contained in:
Ryan Kurtz 2023-10-27 19:01:24 -04:00
commit 82db482d96
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);