mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-25 12:40:45 +00:00
Fixed AS3 - empty P-code shown on clicking script
This commit is contained in:
@@ -226,7 +226,7 @@ public class DecompiledEditorPane extends DebuggableEditorPane implements CaretL
|
||||
}
|
||||
abcPanel.detailPanel.showCard(DetailPanel.METHOD_GETTER_SETTER_TRAIT_CARD, trait, traitIndex, abc);
|
||||
MethodCodePanel methodCodePanel = abcPanel.detailPanel.methodTraitPanel.methodCodePanel;
|
||||
if (reset || (methodCodePanel.getMethodIndex()!= methodIndex)) {
|
||||
if (reset || (methodCodePanel.getMethodIndex()!= methodIndex) || (methodCodePanel.getABC() != abc)) {
|
||||
methodCodePanel.setMethod(scriptName, methodIndex, bi, abc, name, trait, script.scriptIndex);
|
||||
abcPanel.detailPanel.setEditMode(false);
|
||||
this.isStatic = isStatic;
|
||||
|
||||
@@ -55,6 +55,10 @@ public class MethodCodePanel extends JPanel {
|
||||
|
||||
private final DocsPanel docsPanel;
|
||||
|
||||
public ABC getABC() {
|
||||
return sourceTextArea.abc;
|
||||
}
|
||||
|
||||
public void refreshMarkers() {
|
||||
sourceTextArea.refreshMarkers();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user