From ed6f900b70e6ece0f7a57c02612ba6dfcd0b8577 Mon Sep 17 00:00:00 2001 From: Stefan <2252537-stefan_test@users.noreply.gitlab.com> Date: Sat, 24 Feb 2024 15:44:26 +0000 Subject: [PATCH] adding No Layers to apprearance manger presets, fix #15625 --- pcbnew/widgets/appearance_controls.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pcbnew/widgets/appearance_controls.cpp b/pcbnew/widgets/appearance_controls.cpp index 1a94c8254f..962ce5434d 100644 --- a/pcbnew/widgets/appearance_controls.cpp +++ b/pcbnew/widgets/appearance_controls.cpp @@ -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;