mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 10:49:34 +02:00
Merge remote-tracking branch
'origin/GT-3116-dragonmacher-edit-data-type-action'
This commit is contained in:
commit
e6cbefc706
34 changed files with 946 additions and 1332 deletions
|
@ -60,7 +60,6 @@ class ShowComponentAction extends DockingAction
|
|||
this.info = placeholder;
|
||||
this.winMgr = winMgr;
|
||||
this.title = truncateTitleAsNeeded(placeholder.getTitle());
|
||||
String group = isTransient ? "Transient" : "Permanent";
|
||||
|
||||
Icon icon = placeholder.getIcon();
|
||||
if (icon == null) {
|
||||
|
@ -71,7 +70,6 @@ class ShowComponentAction extends DockingAction
|
|||
setMenuBarData(
|
||||
new MenuData(new String[] { MENU_WINDOW, subMenuName, placeholder.getFullTitle() },
|
||||
icon, "Permanent"));
|
||||
winMgr.doSetMenuGroup(new String[] { MENU_WINDOW, subMenuName }, group);
|
||||
}
|
||||
else {
|
||||
setMenuBarData(new MenuData(new String[] { MENU_WINDOW, title }, icon, "Permanent"));
|
||||
|
|
|
@ -396,7 +396,7 @@ public abstract class DockingAction implements DockingActionIf {
|
|||
buffer.append(" MENU GROUP: ").append(menuBarData.getMenuGroup());
|
||||
buffer.append('\n');
|
||||
|
||||
String parentGroup = popupMenuData.getParentMenuGroup();
|
||||
String parentGroup = menuBarData.getParentMenuGroup();
|
||||
if (parentGroup != null) {
|
||||
buffer.append(" PARENT GROUP: ").append(parentGroup);
|
||||
buffer.append('\n');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue