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:
ghidravore 2021-11-15 11:38:19 -05:00
parent 513c9beb9d
commit 9f2679a9f7
6 changed files with 80 additions and 21 deletions

View file

@ -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;