Tag list view - Show in tag list action, Show in resources action

This commit is contained in:
Jindra Petřík
2022-10-30 12:36:18 +01:00
parent 027e77cb4d
commit 71b58fb0a6
5 changed files with 55 additions and 18 deletions

View File

@@ -3710,12 +3710,12 @@ public final class MainPanel extends JPanel implements TreeSelectionListener, Se
reload(true);
return true;
case VIEW_TIMELINE:
case VIEW_TIMELINE:
currentView = view;
Configuration.lastView.set(currentView);
final SWF swf = getCurrentSwf();
if (swf != null) {
TreeItem item = getCurrentTree().getCurrentTreeItem();
TreeItem item = tagTree.getCurrentTreeItem();
if (item instanceof TagScript) {
item = ((TagScript) item).getTag();
}
@@ -3728,6 +3728,8 @@ public final class MainPanel extends JPanel implements TreeSelectionListener, Se
}
showContentPanelCard(TIMELINE_PANEL);
return true;
} else {
showView(VIEW_RESOURCES);
}
return false;
case VIEW_TAGLIST: