#1601 Option to hide AS3 docs panel and traitslist/constants panel

This commit is contained in:
Jindra Petřík
2021-02-24 08:02:24 +01:00
parent ae75ed9805
commit 3c940d1b91
5 changed files with 25 additions and 2 deletions

View File

@@ -3587,7 +3587,11 @@ public final class MainPanel extends JPanel implements TreeSelectionListener, Se
abcPanel.decompiledTextArea.setNoTrait();
}
showDetail(DETAILCARDAS3NAVIGATOR);
if (Configuration.displayAs3TraitsListAndConstantsPanel.get()) {
showDetail(DETAILCARDAS3NAVIGATOR);
} else {
showDetail(DETAILCARDEMPTYPANEL);
}
showCard(CARDACTIONSCRIPT3PANEL);
return;
}