Merge pull request #2711 from SebDieBln/HideWelcomeOnLoadProject

[Bugfix] Always hide the welcome screen when the first project is loaded
This commit is contained in:
Matthias Kuhn 2016-01-22 07:37:44 +01:00
commit a16535a926

View File

@ -4143,6 +4143,7 @@ void QgisApp::fileOpenAfterLaunch()
if ( mProjOpen == 0 ) // welcome page
{
connect( this, SIGNAL( newProject() ), this, SLOT( showMapCanvas() ) );
connect( this, SIGNAL( projectRead() ), this, SLOT( showMapCanvas() ) );
return;
}
if ( mProjOpen == 1 && !mRecentProjects.isEmpty() ) // most recent project