Check for updates after loading files passed on the command line as the update checker dialog interacts poorly with the loading modal dialogs

Originally committed to SVN as r6470.
This commit is contained in:
Thomas Goyne 2012-02-14 00:35:25 +00:00
parent 105a6bd68a
commit 3252503eaa
1 changed files with 3 additions and 3 deletions

View File

@ -204,6 +204,9 @@ FrameMain::FrameMain (wxArrayString args)
Show();
SetDisplayMode(1, 1);
StartupLog("Load files specified on command line");
LoadList(args);
// Version checker
StartupLog("Possibly perform automatic updates check");
if (OPT_GET("App/First Start")->GetBool()) {
@ -214,9 +217,6 @@ FrameMain::FrameMain (wxArrayString args)
PerformVersionCheck(false);
StartupLog("Load files specified on command line");
LoadList(args);
StartupLog("Leaving FrameMain constructor");
}