Added Deobfuscation and its options as icons on script panel toolbar

This commit is contained in:
Jindra Petřík
2022-12-19 23:35:53 +01:00
parent 8f3fb66bfc
commit d5d730b083
10 changed files with 157 additions and 5 deletions

View File

@@ -1587,6 +1587,7 @@ public final class MainPanel extends JPanel implements TreeSelectionListener, Se
}
public void updateClassesList() {
String selectionPath = getCurrentTree().getSelectionPathString();
List<TreeItem> nodes = getASTreeNodes(tagTree);
boolean updateNeeded = false;
for (TreeItem n : nodes) {
@@ -1601,6 +1602,11 @@ public final class MainPanel extends JPanel implements TreeSelectionListener, Se
if (updateNeeded) {
tagTree.updateUI();
}
TreePath tp = getCurrentTree().getTreePathFromString(selectionPath);
if (tp != null)
{
getCurrentTree().setSelectionPath(tp);
}
}
private boolean isFilterEmpty(String filter) {