From ff820bd809250a565991af12435b2f89320a423d Mon Sep 17 00:00:00 2001 From: Seth Hillbrand <seth@kipro-pcb.com> Date: Tue, 28 Jan 2025 11:51:59 -0800 Subject: [PATCH] Keep AllCuLayers as base for number of copper layers --- pcbnew/pcb_layer_box_selector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/pcb_layer_box_selector.cpp b/pcbnew/pcb_layer_box_selector.cpp index 841fc4916b..9a93f4ba00 100644 --- a/pcbnew/pcb_layer_box_selector.cpp +++ b/pcbnew/pcb_layer_box_selector.cpp @@ -61,7 +61,7 @@ void PCB_LAYER_BOX_SELECTOR::Resync() const int size = 14; - LSET show = LSET::AllLayersMask() & ~m_layerMaskDisable; + LSET show = ( LSET::AllCuMask() | LSET::AllNonCuMask() ) & ~m_layerMaskDisable; LSET activated = getEnabledLayers() & ~m_layerMaskDisable; wxString layerstatus;