Update zone layers along with corresponding copper layers.
Fixes https://gitlab.com/kicad/code/kicad/issues/6613
This commit is contained in:
parent
de082e9be7
commit
68947864a1
|
@ -2343,6 +2343,7 @@ void APPEARANCE_CONTROLS::OnColorSwatchChanged( wxCommandEvent& aEvent )
|
||||||
KIGFX::VIEW* view = m_frame->GetCanvas()->GetView();
|
KIGFX::VIEW* view = m_frame->GetCanvas()->GetView();
|
||||||
view->UpdateLayerColor( layer );
|
view->UpdateLayerColor( layer );
|
||||||
view->UpdateLayerColor( GetNetnameLayer( layer ) );
|
view->UpdateLayerColor( GetNetnameLayer( layer ) );
|
||||||
|
view->UpdateLayerColor( ZONE_LAYER_FOR( layer ) );
|
||||||
|
|
||||||
// Update the bitmap of the layer box
|
// Update the bitmap of the layer box
|
||||||
if( m_frame->IsType( FRAME_PCB_EDITOR ) )
|
if( m_frame->IsType( FRAME_PCB_EDITOR ) )
|
||||||
|
|
Loading…
Reference in New Issue