Browse Source

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

Fixes https://gitlab.com/kicad/code/kicad/-/issues/16862
newinvert
Marek Roszko 2 years ago
parent
commit
cd8eb23c3e
  1. 1
      pcbnew/pcb_layer_box_selector.cpp

1
pcbnew/pcb_layer_box_selector.cpp

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

Loading…
Cancel
Save