All the preferences, all the time.
Fixes https://gitlab.com/kicad/code/kicad/issues/7877 Fixes https://gitlab.com/kicad/code/kicad/issues/5153
This commit is contained in:
@@ -112,7 +112,12 @@ static void pcbnewRunPythonMethodWithReturnedString( const char* aMethodName, wx
|
||||
Py_DECREF( localDict );
|
||||
|
||||
if( PyErr_Occurred() )
|
||||
wxLogMessage( PyErrStringWithTraceback() );
|
||||
{
|
||||
if( strcmp( aMethodName, "pcbnew.GetWizardsBackTrace" ) == 0 )
|
||||
aNames = PyErrStringWithTraceback();
|
||||
else
|
||||
wxLogMessage( PyErrStringWithTraceback() );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user