Call Layout after calculating layer combobox size to ensure it takes effect

Fixes https://gitlab.com/kicad/code/kicad/-/issues/16862
This commit is contained in:
Marek Roszko 2024-02-02 23:11:48 -05:00
parent ef06e95798
commit cd8eb23c3e
1 changed files with 1 additions and 0 deletions

View File

@ -97,6 +97,7 @@ void PCB_LAYER_BOX_SELECTOR::Resync()
SetMinSize( bestSize ); SetMinSize( bestSize );
SetSelection( wxNOT_FOUND ); SetSelection( wxNOT_FOUND );
Layout();
Thaw(); Thaw();
} }