mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-18 19:29:17 +00:00
Simplify layer list update in PANEL_SETUP_LAYERS.
This commit is contained in:
parent
f60313367c
commit
bdd4a88127
@ -462,9 +462,7 @@ void PANEL_SETUP_LAYERS::initialize_layers_controls()
|
||||
}
|
||||
|
||||
Thaw();
|
||||
|
||||
m_LayersSizer->FitInside( m_LayersListPanel );
|
||||
m_LayersListPanel->Layout();
|
||||
m_LayersListPanel->FitInside(); // Updates virtual size to fit subwindows, also auto-layouts.
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user