GP-5556 Corrected structure editor transaction error on launch

This commit is contained in:
ghidra1
2025-04-01 17:08:50 -04:00
parent 88b9fd3481
commit 59c55fdb6b

View File

@@ -211,7 +211,9 @@ abstract public class CompositeEditorModel extends CompositeViewerModel {
// as they get resolved into the view datatype manager. This may result in the incorrect
// underlying datatype default setting value being presented when adjusting component
// default settings.
cloneAllComponentSettings(original, viewComposite);
viewDTM.withTransaction("Apply Settings",
() -> cloneAllComponentSettings(original, viewComposite));
viewDTM.clearUndo();
}
String getOriginType() {