Fixed: Not saving library type (airglobal/playerglobal) when switching SWFs

This commit is contained in:
Jindra Petřík
2025-06-24 21:49:23 +02:00
parent e2c13ed393
commit 6fbd7f6865
2 changed files with 2 additions and 1 deletions
@@ -265,12 +265,12 @@ public class ABCPanel extends JPanel implements ItemListener, SearchListener<Scr
return;
}
this.abc = abc;
if (Main.isSwfAir(abc.getOpenable())) {
libraryComboBox.setSelectedIndex(SWF.LIBRARY_AIR);
} else {
libraryComboBox.setSelectedIndex(SWF.LIBRARY_FLASH);
}
this.abc = abc;
decompiledTextArea.setParser(new ActionScript3SimpleParser(abc));
setDecompiledEditMode(false);
navigator.setAbc(abc);