Skip to content

Undo does not work after deleting a footprint text showing a variable

Description

I've got a footprintf field ${connName} that is shown as text on the silskscreen. here it shows BumpAR, which is the content of the ConnName field. If you delete this text field. Then do a CTRL-Z the text shown is ${connName} and not the content of the variable. And I havn't found a way to recover. On a full project I can update the footprint and the field is then correctly working again.

Steps to reproduce

  1. delete BumpAR from the layout
  2. do CTRL-Z
  3. See ${connName} instead of BumpARannuler.7z

KiCad Version

Application: KiCad PCB Editor x64 on x64

Version: 8.0.0, release build

Libraries:
	wxWidgets 3.2.4
	FreeType 2.12.1
	HarfBuzz 8.3.0
	FontConfig 2.14.2

Platform: Windows 10 (build 19045), 64-bit edition, 64 bit, Little endian, wxMSW

	wxWidgets: 3.2.4 (wchar_t,wx containers)
	Boost: 1.83.0
	OCC: 7.7.1
	Curl: 8.5.0-DEV
	ngspice: 42
	Compiler: Visual C++ 1936 without C++ ABI

Build settings: