Don't hide swatches when setting netclass color
Fixes https://gitlab.com/kicad/code/kicad/-/issues/5343
This commit is contained in:
parent
15c136ead2
commit
f8609ed603
|
@ -2248,8 +2248,6 @@ void APPEARANCE_CONTROLS::onNetclassContextMenu( wxCommandEvent& aEvent )
|
|||
|
||||
COLOR4D color = setting->ctl_color->GetSwatchColor();
|
||||
|
||||
setting->ctl_color->Show( color != COLOR4D::UNSPECIFIED );
|
||||
|
||||
std::map<wxString, KIGFX::COLOR4D>& netclassColors = rs->GetNetclassColorMap();
|
||||
|
||||
if( color != COLOR4D::UNSPECIFIED )
|
||||
|
|
Loading…
Reference in New Issue