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:
parent
ef06e95798
commit
cd8eb23c3e
|
@ -97,6 +97,7 @@ void PCB_LAYER_BOX_SELECTOR::Resync()
|
||||||
SetMinSize( bestSize );
|
SetMinSize( bestSize );
|
||||||
|
|
||||||
SetSelection( wxNOT_FOUND );
|
SetSelection( wxNOT_FOUND );
|
||||||
|
Layout();
|
||||||
Thaw();
|
Thaw();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue