updateTextBounds fix

This commit is contained in:
honfika@gmail.com
2014-12-21 16:06:33 +01:00
parent edc43f0d18
commit ac9c2d65d3
8 changed files with 92 additions and 39 deletions

View File

@@ -481,9 +481,6 @@ public class Main {
public static boolean reloadSWFs() {
CancellableWorker.cancelBackgroundThreads();
if (mainFrame != null) {
mainFrame.getPanel().closeAll();
}
if (Main.sourceInfos.isEmpty()) {
Helper.freeMem();
showModeFrame();
@@ -520,6 +517,7 @@ public class Main {
}
if (mainFrame != null) {
mainFrame.setVisible(false);
mainFrame.getPanel().closeAll();
mainFrame = null;
}
FontTag.reload();