mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Init checkboxes after reading prefs.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20309 (cherry picked from commit 521b411090d7ddc360b04a59cc0d808921d7bd54)
This commit is contained in:
parent
f835591c8b
commit
3ea0191954
@ -238,6 +238,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 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user