mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-01 10:55:12 +00:00
#848 Random Reversion to Unedited Code when Toggling the 3 switches (at Top Left) on the Right Hand Pane! fixed
This commit is contained in:
@@ -617,6 +617,9 @@ public final class MainPanel extends JPanel implements ActionListener, TreeSelec
|
||||
this.swfs.addCollectionChangedListener((e) -> {
|
||||
TagTreeModel ttm = tagTree.getModel();
|
||||
if (ttm != null) {
|
||||
if (getCurrentSwf() == null) {
|
||||
tagTree.setSelectionPath(ttm.getTreePath(ttm.getRoot()));
|
||||
}
|
||||
ttm.updateSwfs(e);
|
||||
TreeItem root = ttm.getRoot();
|
||||
int childCount = ttm.getChildCount(root);
|
||||
|
||||
Reference in New Issue
Block a user