Fix saving of existing appearance presets
Fixes https://gitlab.com/kicad/code/kicad/-/issues/10166
This commit is contained in:
parent
addc5574b4
commit
c52421869a
|
@ -2443,6 +2443,9 @@ void APPEARANCE_CONTROLS::onLayerPresetChanged( wxCommandEvent& aEvent )
|
|||
}
|
||||
else
|
||||
{
|
||||
preset->layers = getVisibleLayers();
|
||||
preset->renderLayers = getVisibleObjects();
|
||||
|
||||
index = m_cbLayerPresets->FindString( name );
|
||||
m_presetMRU.Remove( name );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue