mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-11 05:42:11 +00:00
Hidden not working buttons for next/prev text tag in tag list view
This commit is contained in:
@@ -3113,12 +3113,7 @@ public final class MainPanel extends JPanel implements TreeSelectionListener, Se
|
||||
}
|
||||
|
||||
public boolean previousTag() {
|
||||
JTree tree = null;
|
||||
if (getCurrentView() == VIEW_RESOURCES) {
|
||||
tree = tagTree;
|
||||
} else if (getCurrentView() == VIEW_TAGLIST) {
|
||||
tree = tagTree;
|
||||
}
|
||||
JTree tree = getCurrentTree();
|
||||
|
||||
if (tree != null) {
|
||||
if (tree.getSelectionRows().length > 0) {
|
||||
@@ -3136,12 +3131,8 @@ public final class MainPanel extends JPanel implements TreeSelectionListener, Se
|
||||
}
|
||||
|
||||
public boolean nextTag() {
|
||||
JTree tree = null;
|
||||
if (getCurrentView() == VIEW_RESOURCES) {
|
||||
tree = tagTree;
|
||||
} else if (getCurrentView() == VIEW_TAGLIST) {
|
||||
tree = tagTree;
|
||||
}
|
||||
JTree tree = getCurrentTree();
|
||||
|
||||
if (tree != null) {
|
||||
if (tree.getSelectionRows().length > 0) {
|
||||
int row = tree.getSelectionRows()[0];
|
||||
|
||||
Reference in New Issue
Block a user