mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-28 07:50:45 +00:00
Fixed Show in tag list from tag scripts
This commit is contained in:
@@ -2473,6 +2473,10 @@ public class TagTreeContextMenu extends JPopupMenu {
|
||||
private void showInTagListViewActionPerformed(ActionEvent evt) {
|
||||
TreeItem item = getTree().getCurrentTreeItem();
|
||||
mainPanel.showView(MainPanel.VIEW_TAGLIST);
|
||||
|
||||
if (item instanceof TagScript) {
|
||||
item = ((TagScript) item).getTag();
|
||||
}
|
||||
mainPanel.setTagTreeSelectedNode(mainPanel.tagListTree, item);
|
||||
mainPanel.updateMenu();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user