Catch language switch before Python
We don't translate the python scripting window yet, so we need to catch the KIWAY message to change the language and simply discard it Fixes https://gitlab.com/kicad/code/kicad/issues/10021
This commit is contained in:
committed by
Wayne Stambaugh
parent
a4db439cf8
commit
fe148df57e
@@ -84,6 +84,7 @@ output.SetParent( parent )
|
||||
)", pybind11::globals(), locals );
|
||||
}
|
||||
|
||||
|
||||
KIPYTHON_FRAME::KIPYTHON_FRAME( KIWAY* aKiway, wxWindow* aParent ) :
|
||||
KIWAY_PLAYER( aKiway, aParent, FRAME_PYTHON, wxT( "KiPython" ), wxDefaultPosition,
|
||||
wxDefaultSize, KICAD_DEFAULT_DRAWFRAME_STYLE, wxT( "KiPython" ) )
|
||||
|
||||
Reference in New Issue
Block a user