Paste in Library tables does not work

Description

Steps to reproduce

  1. Open Footprint Library Tables
  2. Select a row in the global table
  3. Copy
  4. Make a new row in the local table
  5. Paste

I expect that the copied row would be able to be pasted. But the checkboxes seem to mess it up. We don't paste into them but the data are still there so it gets added to the wrong column.

Here is the data that are copied:

image

1	Audio_Module	${KICAD7_FOOTPRINT_DIR}/Audio_Module.pretty	KiCad		Audio Module footprints

Here is the paste result. image

I expected the paste result to be: image

KiCad Version

Application: KiCad PCB Editor x86_64 on x86_64

Version: 8.0.2-78-gf8f48f922e, debug build

Libraries:
	wxWidgets 3.2.2
	FreeType 2.12.1
	HarfBuzz 6.0.0
	FontConfig 2.14.1

Platform: Debian GNU/Linux 12 (bookworm), 64 bit, Little endian, wxGTK, X11, lightdm-xsession, x11
OpenGL: Intel, Mesa Intel(R) Graphics (ADL GT2), 4.6 (Compatibility Profile) Mesa 22.3.6

	wxWidgets: 3.2.2 (wchar_t,wx containers) GTK+ 3.24
	Boost: 1.74.0
	OCC: 7.6.3
	Curl: 7.88.1
	ngspice: 39
	Compiler: GCC 12.2.0 with C++ ABI 1017

Build settings:
	KICAD_STDLIB_DEBUG=OFF
	KICAD_STDLIB_LIGHT_DEBUG=OFF
	KICAD_SANITIZE_ADDRESS=OFF
	KICAD_SANITIZE_THREADS=OFF