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 a0b4515 commit d28d202Copy full SHA for d28d202
src/app/qgisapp.cpp
@@ -1137,9 +1137,9 @@ void QgisApp::showPythonDialog()
1137
if ( !mPythonUtils || !mPythonUtils->isEnabled() )
1138
return;
1139
1140
- bool res = mPythonUtils->runStringUnsafe(
+ bool res = mPythonUtils->runString(
1141
"import console\n"
1142
- "console.show_console()\n", false );
+ "console.show_console()\n", tr( "Failed to open Python console:" ), false );
1143
1144
if ( !res )
1145
{
0 commit comments