From 3b97804cb614e90281d1986b36137c75ae11fb3a Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Thu, 11 Sep 2025 11:07:16 +0200 Subject: [PATCH] DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR: add missing layers to always allowed list --- pcbnew/dialogs/dialog_footprint_properties_fp_editor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/pcbnew/dialogs/dialog_footprint_properties_fp_editor.cpp b/pcbnew/dialogs/dialog_footprint_properties_fp_editor.cpp index 4e98257698..2d65078018 100644 --- a/pcbnew/dialogs/dialog_footprint_properties_fp_editor.cpp +++ b/pcbnew/dialogs/dialog_footprint_properties_fp_editor.cpp @@ -674,6 +674,7 @@ bool DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR::Validate() // Check that the user isn't trying to remove a layer that is used by the footprint usedLayers &= ~getCustomLayersFromControls(); usedLayers &= ~LSET::AllTechMask(); + usedLayers &= ~LSET::UserMask(); if( usedLayers.any() ) {