Fix colors not being saved from layers widget
This commit is contained in:
parent
4923d993a7
commit
104bfbfbd7
|
@ -225,6 +225,8 @@ void PCB_DRAW_PANEL_GAL::UpdateColors()
|
|||
|
||||
wxCHECK_RET( cs, "null COLOR_SETTINGS" );
|
||||
|
||||
Pgm().GetSettingsManager().SaveColorSettings( cs, "board" );
|
||||
|
||||
auto rs = static_cast<KIGFX::PCB_RENDER_SETTINGS*>( m_view->GetPainter()->GetSettings() );
|
||||
rs->LoadColors( cs );
|
||||
|
||||
|
|
Loading…
Reference in New Issue