diff --git a/CHANGELOG.md b/CHANGELOG.md index 291a5f2f0..d08d4d358 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -41,6 +41,7 @@ All notable changes to this project will be documented in this file. - [#2447] SVG import - gradients can inherit (href) from other gradient types (radial vs linear) - [#2450] Morphshape replace button/menu is not working (throws exception due to missing icon) - [#2355] AS1/2 Simplify expressions feature colliding with some other features like hex values +- Exception on FFDec start when simple editor is on ## [22.0.2] - 2025-01-17 ### Added diff --git a/src/com/jpexs/decompiler/flash/gui/QuickTreeFilterPanel.java b/src/com/jpexs/decompiler/flash/gui/QuickTreeFilterPanel.java index bfcb95a14..c569183af 100644 --- a/src/com/jpexs/decompiler/flash/gui/QuickTreeFilterPanel.java +++ b/src/com/jpexs/decompiler/flash/gui/QuickTreeFilterPanel.java @@ -113,7 +113,11 @@ public class QuickTreeFilterPanel extends JPanel implements QuickTreeFilterInter foldersPanel.setSize(new Dimension(getParent().getWidth(), 47)); labelToFolder.clear(); - foldersList = ((TagTreeModel) tagTree.getFullModel()).getAvailableFolders(); + TagTreeModel model = (TagTreeModel) tagTree.getFullModel(); + if (model == null) { // When switched to Simple editor for example + return; + } + foldersList = model.getAvailableFolders(); for (String f : foldersList) { String icon = "folder" + f.toLowerCase(Locale.ENGLISH) + "16"; if (f.equals("header")) {