mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 19:42:36 +02:00
GP-1445 fixing issue with renaming a datatype that has the same name as a category at the same level
This commit is contained in:
parent
513c9beb9d
commit
9f2679a9f7
6 changed files with 80 additions and 21 deletions
|
@ -66,7 +66,7 @@ public class ProjectDataRenameAction extends FrontendProjectTreeAction {
|
|||
DataTree tree = (DataTree) component;
|
||||
GTreeNode node = (GTreeNode) context.getContextObject();
|
||||
tree.setEditable(true);
|
||||
tree.startEditing(node.getParent(), node.getName());
|
||||
tree.startEditing(node);
|
||||
}
|
||||
else if (component instanceof GTable) {
|
||||
GTable table = (GTable) component;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue