Double click timelined in Library shows its timeline.

Properly dispose ImagePanels
This commit is contained in:
Jindra Petřík
2024-10-29 16:55:43 +01:00
parent 9af01e7eab
commit 1e849f435d
4 changed files with 49 additions and 4 deletions
@@ -19,6 +19,7 @@ package com.jpexs.decompiler.flash.easygui;
import com.jpexs.decompiler.flash.SWF;
import com.jpexs.decompiler.flash.gui.View;
import java.awt.BorderLayout;
import java.util.ArrayList;
import java.util.List;
import javax.swing.JPanel;
@@ -57,4 +58,9 @@ public class EasyPanel extends JPanel {
public SWF getSwf() {
return tabSwitcher.getSelectedValue();
}
public void dispose() {
setSwfs(new ArrayList<>());
easySwfPanel.dispose();
}
}