Browse Source

GAL: Update grid color when changed by user

4.0
Simon Wells 11 years ago
committed by Wayne Stambaugh
parent
commit
228ed4ea41
  1. 1
      pcbnew/class_pcb_layer_widget.cpp

1
pcbnew/class_pcb_layer_widget.cpp

@ -485,6 +485,7 @@ void PCB_LAYER_WIDGET::OnRenderColorChange( int aId, EDA_COLOR_T aColor )
{
KIGFX::VIEW* view = myframe->GetGalCanvas()->GetView();
view->GetPainter()->GetSettings()->ImportLegacyColors( myframe->GetBoard()->GetColorsSettings() );
view->UpdateLayerColor( aId );
}
myframe->GetCanvas()->Refresh();

Loading…
Cancel
Save