7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-21 10:51:41 +00:00

Init checkboxes after reading prefs.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/20309
This commit is contained in:
Jeff Young 2025-03-14 13:26:24 +00:00
parent 3c32f4d31d
commit 521b411090

View File

@ -240,6 +240,7 @@ SYMBOL_EDIT_FRAME::SYMBOL_EDIT_FRAME( KIWAY* aKiway, wxWindow* aParent ) :
// Can't put this in LoadSettings, because it has to be called before setupTools :/
SCH_SELECTION_TOOL* selTool = GetToolManager()->GetTool<SCH_SELECTION_TOOL>();
selTool->GetFilter() = GetSettings()->m_SelectionFilter;
m_selectionFilterPanel->SetCheckboxesFromFilter( selTool->GetFilter() );
if( m_settings->m_LibWidth > 0 )
SetAuiPaneSize( m_auimgr, m_auimgr.GetPane( "LibraryTree" ), m_settings->m_LibWidth, -1 );