Hide unused message panel in footprint/symbol chooser frames.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/15810
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15889
This commit is contained in:
Alex Shvartzkop 2024-02-16 23:15:59 +03:00 committed by dsa-t
parent 764de7257f
commit badc4e7411
2 changed files with 4 additions and 0 deletions

View File

@ -71,6 +71,8 @@ SYMBOL_CHOOSER_FRAME::SYMBOL_CHOOSER_FRAME( KIWAY* aKiway, wxWindow* aParent ) :
{
SetModal( true );
m_messagePanel->Hide();
wxBoxSizer* sizer = new wxBoxSizer( wxVERTICAL );
std::vector<PICKED_SYMBOL> dummyAlreadyPlaced;

View File

@ -80,6 +80,8 @@ FOOTPRINT_CHOOSER_FRAME::FOOTPRINT_CHOOSER_FRAME( KIWAY* aKiway, wxWindow* aPare
{
SetModal( true );
m_messagePanel->Hide();
m_filterByFPFilters = new wxCheckBox( this, wxID_ANY, _( "Apply footprint filters" ) );
m_filterByPinCount = new wxCheckBox( this, wxID_ANY, _( "Filter by pin count" ) );