From 4fc6047f91e21684742424c8c3b37db98b164644 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Sun, 11 Jun 2023 11:02:53 +0100 Subject: [PATCH] Make sure infobar gets created earlier. restoreLastFootprint() might want it. --- pcbnew/footprint_edit_frame.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pcbnew/footprint_edit_frame.cpp b/pcbnew/footprint_edit_frame.cpp index bb7ee1f963..b4863b026d 100644 --- a/pcbnew/footprint_edit_frame.cpp +++ b/pcbnew/footprint_edit_frame.cpp @@ -128,6 +128,8 @@ FOOTPRINT_EDIT_FRAME::FOOTPRINT_EDIT_FRAME( KIWAY* aKiway, wxWindow* aParent ) : SetIcons( icon_bundle ); + CreateInfoBar(); + // Create GAL canvas m_canvasType = loadCanvasTypeSetting(); @@ -199,8 +201,6 @@ FOOTPRINT_EDIT_FRAME::FOOTPRINT_EDIT_FRAME( KIWAY* aKiway, wxWindow* aParent ) : m_auimgr.SetManagedWindow( this ); - CreateInfoBar(); - unsigned int auiFlags = wxAUI_MGR_DEFAULT; #if !defined( _WIN32 ) // Windows cannot redraw the UI fast enough during a live resize and may lead to all kinds