Board stackup: Ensure that m_choiceCopperLayers is updated

Need to do a full synchronisation with the board to ensure that the
drop down and other UI elements are reset

Fixes https://gitlab.com/kicad/code/kicad/-/issues/9991
This commit is contained in:
Roberto Fernandez Bautista 2021-12-14 17:59:41 +00:00
parent 4de4347baa
commit aa64b739eb
1 changed files with 1 additions and 1 deletions

View File

@ -1239,7 +1239,7 @@ void PANEL_SETUP_BOARD_STACKUP::OnLayersOptionsChanged( LSET aNewLayerSet )
{
m_enabledLayers = layersList;
synchronizeWithBoard( false );
synchronizeWithBoard( true );
Layout();
Refresh();