diff --git a/pcbnew/widgets/appearance_controls.cpp b/pcbnew/widgets/appearance_controls.cpp index 7b14f884e6..c7a8e4d9c0 100644 --- a/pcbnew/widgets/appearance_controls.cpp +++ b/pcbnew/widgets/appearance_controls.cpp @@ -1843,7 +1843,7 @@ void APPEARANCE_CONTROLS::OnLayerContextMenu( wxCommandEvent& aEvent ) return; case ID_PRESET_ALL_LAYERS: - preset.layers &presetAllLayers.layers; + preset.layers = presetAllLayers.layers; ApplyLayerPreset( preset ); return;