提交 3a62d043 编写于 作者: S Skylot

gui: fix tree class switch

上级 ca2c935f
package jadx.gui;
import jadx.cli.JadxArgs;
import jadx.gui.treemodel.JClass;
import jadx.gui.treemodel.JNode;
import jadx.gui.treemodel.JRoot;
......@@ -93,6 +94,9 @@ public class MainWindow extends JFrame {
if (node.getJParent() != null) {
textArea.setText(node.getJParent().getCode());
scrollToLine(node.getLine());
} else if (node.getClass() == JClass.class){
textArea.setText(((JClass)node).getCode());
scrollToLine(node.getLine());
}
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册