diff --git a/scripting/python_scripting.cpp b/scripting/python_scripting.cpp index 859a4d8bb7..ccc3c0cee8 100644 --- a/scripting/python_scripting.cpp +++ b/scripting/python_scripting.cpp @@ -176,6 +176,8 @@ bool pcbnewInitPythonScripting( const char * aUserPluginsPath ) return false; } + wxPythonLoaded = true; + // Save the current Python thread state and release the // Global Interpreter Lock.