Skip to content

Commit

Permalink
Fix crash on startup when python support is not present
Browse files Browse the repository at this point in the history
Adds a safety check for mActionShowPythonDialog before accessing it
  • Loading branch information
m-kuhn committed Jun 5, 2015
1 parent 71d0b57 commit ff68635
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgisapp.cpp
Expand Up @@ -738,7 +738,7 @@ QgisApp::QgisApp( QSplashScreen *splash, bool restorePlugins, QWidget * parent,
// enable Python in the Plugin Manager and pass the PythonUtils to it
mPluginManager->setPythonUtils( mPythonUtils );
}
else
else if ( mActionShowPythonDialog )
{
mActionShowPythonDialog->setVisible( false );
}
Expand Down

0 comments on commit ff68635

Please sign in to comment.