Raw editation from context menu hilights item in the tree

This commit is contained in:
Jindra Petřík
2022-12-07 19:31:19 +01:00
parent 5d4ed1dcc0
commit 4e504627cf

View File

@@ -1674,6 +1674,10 @@ public class TagTreeContextMenu extends JPopupMenu {
return;
}
TreePath sel = mainPanel.getCurrentTree().getSelectionPath();
if (sel == null || sel.getLastPathComponent() != itemr) {
mainPanel.setTagTreeSelectedNode(mainPanel.getCurrentTree(), itemr);
}
mainPanel.showGenericTag((Tag) itemr);
}