GAL: Update grid color when changed by user

This commit is contained in:
Simon Wells 2016-02-09 18:34:16 -05:00 committed by Wayne Stambaugh
parent 3031a3f5cf
commit 228ed4ea41
1 changed files with 1 additions and 0 deletions

View File

@ -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();