#747 Move tag to adds extra frame fixed

This commit is contained in:
2014-12-14 17:57:53 +01:00
parent fac4df46e5
commit 9ea4f6c6b7
4 changed files with 26 additions and 13 deletions
@@ -302,6 +302,10 @@ public class TagTreeContextMenu extends JPopupMenu implements ActionListener {
tag.setSwf(targetSwf);
targetSwf.tags.add(tag);
tag.setModified(true);
sourceSwf.assignExportNamesToSymbols();
targetSwf.assignExportNamesToSymbols();
sourceSwf.assignClassesToSymbols();
targetSwf.assignClassesToSymbols();
sourceSwf.clearImageCache();
targetSwf.clearImageCache();
mainPanel.refreshTree();
@@ -324,6 +328,8 @@ public class TagTreeContextMenu extends JPopupMenu implements ActionListener {
copyTag.setSwf(targetSwf);
targetSwf.tags.add(copyTag);
copyTag.setModified(true);
targetSwf.assignExportNamesToSymbols();
targetSwf.assignClassesToSymbols();
targetSwf.clearImageCache();
mainPanel.refreshTree();
} catch (IOException | InterruptedException ex) {