Don't hide swatches when setting netclass color

Fixes https://gitlab.com/kicad/code/kicad/-/issues/5343
This commit is contained in:
Jon Evans 2020-08-24 19:24:55 -04:00
parent 15c136ead2
commit f8609ed603
1 changed files with 0 additions and 2 deletions

View File

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