ABCExplorer - hide combobox for ABC openables without SWF

This commit is contained in:
Jindra Petřík
2023-09-29 22:09:26 +02:00
parent 413b837c8f
commit dd8d3af6fd
5 changed files with 117 additions and 71 deletions

View File

@@ -1679,16 +1679,11 @@ public abstract class MainFrameMenu implements MenuBuilder {
protected void abcExplorerActionPerformed(ActionEvent evt) {
SWF swf;
if (openable instanceof SWF) {
swf = (SWF) openable;
} else if (openable instanceof ABC) {
swf = ((ABC)openable).getSwf();
} else {
if (openable == null) {
return;
}
mainFrame.getPanel().showAbcExplorer(swf, null);
mainFrame.getPanel().showAbcExplorer(openable, null);
}
public boolean stackActionPerformed(ActionEvent evt) {