Fix copy/paste error
Fixes https://gitlab.com/kicad/code/kicad/issues/4261
This commit is contained in:
parent
71332fcb77
commit
9af88d79ea
|
@ -212,7 +212,7 @@ void PCB_DRAW_PANEL_GAL::UpdateColors()
|
||||||
if( frame )
|
if( frame )
|
||||||
cs = frame->ColorSettings();
|
cs = frame->ColorSettings();
|
||||||
else
|
else
|
||||||
Pgm().GetSettingsManager().GetColorSettings();
|
cs = Pgm().GetSettingsManager().GetColorSettings();
|
||||||
|
|
||||||
wxASSERT( cs );
|
wxASSERT( cs );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue