goto document class with multiple opened swfs issue fixed

This commit is contained in:
Honfika
2013-12-27 23:49:02 +01:00
parent 1bf71c9008
commit 1003ca35f3
6 changed files with 45 additions and 40 deletions

View File

@@ -305,6 +305,7 @@ public class Main {
@Override
protected Object doInBackground() throws Exception {
boolean first = true;
for (SWFSourceInfo sourceInfo : sourceInfos) {
SWF swf = null;
try {
@@ -319,6 +320,8 @@ public class Main {
}
final SWF swf1 = swf;
final boolean first1 = first;
first = false;
try {
Main.startWork(AppStrings.translate("work.creatingwindow") + "...");
View.execInEventDispatch(new Runnable() {
@@ -331,7 +334,7 @@ public class Main {
mainFrame = new MainFrameClassic();
}
}
mainFrame.getPanel().load(swf1);
mainFrame.getPanel().load(swf1, first1);
if (errorState) {
mainFrame.getPanel().setErrorState();
}