Browse Source

Fix saving of existing appearance presets

Fixes https://gitlab.com/kicad/code/kicad/-/issues/10166

(cherry picked from commit c52421869a)
7.0
Jon Evans 4 years ago
parent
commit
41e8606fe6
  1. 3
      pcbnew/widgets/appearance_controls.cpp

3
pcbnew/widgets/appearance_controls.cpp

@ -2445,6 +2445,9 @@ void APPEARANCE_CONTROLS::onLayerPresetChanged( wxCommandEvent& aEvent )
}
else
{
preset->layers = getVisibleLayers();
preset->renderLayers = getVisibleObjects();
index = m_cbLayerPresets->FindString( name );
m_presetMRU.Remove( name );
}

Loading…
Cancel
Save