fpedit: "connected layers" pad property isn't copied to other pads
Description
Pad properties are remembered from the previous pad when you add a new pad, and pad properties can be copied from one pad to another. This does not seem to be true for the property "Copper Layers" when it is set to "F.Cu, B.Cu and connected layers" or "Connected layers only". "All layers" and "none" transfer correctly.
Steps to reproduce
- Create a new footprint (through-hole)
- Add a through hole pad
- edit the pad, set connected copper layers to "F.Cu, B.Cu, and connected copper layers"
- add a new pad, see that connected copper layers are set to "All". Expectation is that the new pad's properties match the previous pad's.
- right click original pad -> copy pad properties to default
- right click second pad -> paste default pad properties to selected
- see that the connected copper layers property was not copy/pasted to the second pad
Application: KiCad Footprint Editor (32-bit)
Version: (6.0.8-89-gbf95906f90), release build
Libraries:
wxWidgets 3.2.1
Platform: Windows 10 (build 19042), 64-bit edition, 64 bit, Little endian, wxMSW
wxWidgets: 3.2.1 (wchar_t,wx containers)
Boost: 1.79.0
OCC: 7.6.0
Curl: 7.83.1-DEV
ngspice: 37
Compiler: Visual C++ 1929 without C++ ABI
Build settings:
KICAD_USE_OCC=ON
KICAD_SPICE=ON