DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR: add missing layers to always allowed list

This commit is contained in:
jean-pierre charras 2025-09-11 11:07:16 +02:00
parent e72def55a9
commit 3b97804cb6

View File

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