mirror of https://github.com/odrling/Aegisub
Rearrange FrameMain's constructor so that the frame is shown before the updates check and files are loaded. Fixes some ugliness and a bug where the detached video dialog wasn't being parented correctly
Originally committed to SVN as r5700.
This commit is contained in:
parent
e2ea5598fc
commit
76467584bb
|
@ -191,8 +191,9 @@ FrameMain::FrameMain (wxArrayString args)
|
||||||
StartupLog("Load default file");
|
StartupLog("Load default file");
|
||||||
context->ass->LoadDefault();
|
context->ass->LoadDefault();
|
||||||
|
|
||||||
StartupLog("Load files specified on command line");
|
StartupLog("Display main window");
|
||||||
LoadList(args);
|
Show();
|
||||||
|
SetDisplayMode(1, 1);
|
||||||
|
|
||||||
// Version checker
|
// Version checker
|
||||||
StartupLog("Possibly perform automatic updates check");
|
StartupLog("Possibly perform automatic updates check");
|
||||||
|
@ -204,9 +205,8 @@ FrameMain::FrameMain (wxArrayString args)
|
||||||
|
|
||||||
PerformVersionCheck(false);
|
PerformVersionCheck(false);
|
||||||
|
|
||||||
StartupLog("Display main window");
|
StartupLog("Load files specified on command line");
|
||||||
Show();
|
LoadList(args);
|
||||||
SetDisplayMode(1, 1);
|
|
||||||
|
|
||||||
StartupLog("Leaving FrameMain constructor");
|
StartupLog("Leaving FrameMain constructor");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue