adding No Layers to apprearance manger presets, fix #15625
This commit is contained in:
parent
7cb754ddbb
commit
ed6f900b70
|
@ -1437,9 +1437,9 @@ void APPEARANCE_CONTROLS::loadDefaultLayerPresets()
|
||||||
m_presetMRU.clear();
|
m_presetMRU.clear();
|
||||||
|
|
||||||
// Load the read-only defaults
|
// Load the read-only defaults
|
||||||
for( const LAYER_PRESET& preset : { presetAllLayers, presetAllCopper, presetInnerCopper,
|
for( const LAYER_PRESET& preset :
|
||||||
presetFront, presetFrontAssembly, presetBack,
|
{ presetAllLayers, presetNoLayers, presetAllCopper, presetInnerCopper, presetFront,
|
||||||
presetBackAssembly } )
|
presetFrontAssembly, presetBack, presetBackAssembly } )
|
||||||
{
|
{
|
||||||
m_layerPresets[preset.name] = preset;
|
m_layerPresets[preset.name] = preset;
|
||||||
m_layerPresets[preset.name].readOnly = true;
|
m_layerPresets[preset.name].readOnly = true;
|
||||||
|
|
Loading…
Reference in New Issue