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() ) {