Commit 00e18d21 authored by Jean-Samuel Reynaud's avatar Jean-Samuel Reynaud Committed by Dick Hollenbeck

pcbnew crashed on start compiled with KICAD_SCRIPTING_WXPYTHON=ON

parent 21b70093
......@@ -157,7 +157,7 @@ KIFACE* KIWAY::KiFACE( FACE_T aFaceId, bool doLoad )
void* addr = NULL;
if( !dso.Load( dname, wxDL_VERBATIM | wxDL_NOW ) )
if( !dso.Load( dname, wxDL_VERBATIM | wxDL_NOW | wxDL_GLOBAL ) )
{
// Failure: error reporting UI was done via wxLogSysError().
// No further reporting required here.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment