adding No Layers to apprearance manger presets, fix #15625
(cherry picked from commit ed6f900b70
)
b650e80a adding No Layers to apprearance manger presets, fix #15625
6f8de6e3 fix codestyle
This commit is contained in:
parent
99f9941067
commit
5713384f35
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue