mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 02:39:44 +02:00
GP-3975 Corrected StructureDB component type parent tracking issue for
replace by ordinal
This commit is contained in:
parent
e832fc2a10
commit
9d52aeeeb6
2 changed files with 81 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue