adding No Layers to apprearance manger presets, fix #15625

This commit is contained in:
Stefan 2024-02-24 15:44:26 +00:00 committed by Jon Evans
parent 7cb754ddbb
commit ed6f900b70
1 changed files with 3 additions and 3 deletions

View File

@ -1437,9 +1437,9 @@ void APPEARANCE_CONTROLS::loadDefaultLayerPresets()
m_presetMRU.clear();
// Load the read-only defaults
for( const LAYER_PRESET& preset : { presetAllLayers, presetAllCopper, presetInnerCopper,
presetFront, presetFrontAssembly, presetBack,
presetBackAssembly } )
for( const LAYER_PRESET& preset :
{ presetAllLayers, presetNoLayers, presetAllCopper, presetInnerCopper, presetFront,
presetFrontAssembly, presetBack, presetBackAssembly } )
{
m_layerPresets[preset.name] = preset;
m_layerPresets[preset.name].readOnly = true;