We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent f5a60a4 commit 60dc15eCopy full SHA for 60dc15e
src/app/qgisapp.cpp
@@ -1225,7 +1225,7 @@ void QgisApp::showPythonDialog()
1225
{
1226
QString className, text;
1227
mPythonUtils->getError( className, text );
1228
- 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);
1229
}
1230
#ifdef Q_WS_MAC
1231
else
0 commit comments