Skip to content
Permalink
Browse files

Show message bar for console python open error

  • Loading branch information
NathanW2 committed Apr 21, 2014
1 parent f5a60a4 commit 60dc15eec5e6fe346723d73af752b279e86560f3
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgisapp.cpp
@@ -1225,7 +1225,7 @@ void QgisApp::showPythonDialog()
{
QString className, text;
mPythonUtils->getError( className, text );
QMessageBox::critical( this, tr( "Error" ), tr( "Failed to open Python console:" ) + "\n" + className + ": " + text );
messageBar()->pushMessage( tr( "Error" ), tr( "Failed to open Python console:" ) + "\n" + className + ": " + text, QgsMessageBar::WARNING);
}
#ifdef Q_WS_MAC
else

0 comments on commit 60dc15e

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