Commit 09b2dc62 authored by Hugo Beauzee-Luyssen's avatar Hugo Beauzee-Luyssen

Check if the project needs to be restored, even if the wizard is deactivated.

parent 985c9baa
......@@ -124,13 +124,14 @@ MainWindow::MainWindow( QWidget *parent ) :
m_pWizard->setModal( true );
#ifdef WITH_CRASHHANDLER
if ( restoreSession() == false )
return ;
#endif
QSettings s;
if ( s.value( "ShowWizardStartup", true ).toBool() )
{
#ifdef WITH_CRASHHANDLER
if ( restoreSession() == false )
return ;
#endif
//If a project was opened from the command line: don't show the wizzard.
if ( qApp->arguments().size() == 1 )
m_pWizard->show();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment