|
|
|
@ -283,6 +283,11 @@ FOOTPRINT_EDIT_FRAME::FOOTPRINT_EDIT_FRAME( KIWAY* aKiway, wxWindow* aParent, |
|
|
|
// Default shutdown reason until a file is loaded
|
|
|
|
KIPLATFORM::APP::SetShutdownBlockReason( this, _( "Footprint changes are unsaved" ) ); |
|
|
|
|
|
|
|
// Catch unhandled accelerator command characters that were no handled by the library tree
|
|
|
|
// panel.
|
|
|
|
Bind( wxEVT_CHAR, &TOOL_DISPATCHER::DispatchWxEvent, m_toolDispatcher ); |
|
|
|
Bind( wxEVT_CHAR_HOOK, &TOOL_DISPATCHER::DispatchWxEvent, m_toolDispatcher ); |
|
|
|
|
|
|
|
// Ensure the window is on top
|
|
|
|
Raise(); |
|
|
|
Show( true ); |
|
|
|
|