mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-28 13:35:33 +00:00
Raw editation from context menu hilights item in the tree
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user