From 68947864a17edcf159ba1dd02bfb4d04c74d5436 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Sat, 5 Dec 2020 23:30:46 +0000 Subject: [PATCH] Update zone layers along with corresponding copper layers. Fixes https://gitlab.com/kicad/code/kicad/issues/6613 --- pcbnew/widgets/appearance_controls.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/pcbnew/widgets/appearance_controls.cpp b/pcbnew/widgets/appearance_controls.cpp index 32f96f63e4..f391dcd4df 100644 --- a/pcbnew/widgets/appearance_controls.cpp +++ b/pcbnew/widgets/appearance_controls.cpp @@ -2343,6 +2343,7 @@ void APPEARANCE_CONTROLS::OnColorSwatchChanged( wxCommandEvent& aEvent ) KIGFX::VIEW* view = m_frame->GetCanvas()->GetView(); view->UpdateLayerColor( layer ); view->UpdateLayerColor( GetNetnameLayer( layer ) ); + view->UpdateLayerColor( ZONE_LAYER_FOR( layer ) ); // Update the bitmap of the layer box if( m_frame->IsType( FRAME_PCB_EDITOR ) )