Skip to content
Permalink
Browse files

Fix crash on startup when python support is not present

Adds a safety check for mActionShowPythonDialog before accessing it
  • Loading branch information
m-kuhn committed Jun 5, 2015
1 parent 71d0b57 commit ff68635f580de5553798a3b6beb89736a9cfbbfa
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgisapp.cpp
@@ -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 );
}

0 comments on commit ff68635

Please sign in to comment.
You can’t perform that action at this time.