ASM panel is empty after switching caching mode: fixed (selected methodbody was not cleared, but the text was cleared => no refresh)

This commit is contained in:
Honfika
2013-11-25 21:56:29 +01:00
parent abfc07ca59
commit ae3b124b37
5 changed files with 11 additions and 5 deletions
@@ -525,7 +525,7 @@ public class ABCPanel extends JPanel implements ItemListener, ActionListener, Fr
switchAbc(listIndex);
decompiledTextArea.clearScriptCache();
decompiledTextArea.reloadClass();
detailPanel.methodTraitPanel.methodCodePanel.setBodyIndex(-1, abc, decompiledTextArea.getCurrentTrait());
detailPanel.methodTraitPanel.methodCodePanel.clear();
}
@Override