Can't update fields of derived symbol to match parent

Description

Current behavior : In a symbol library, if I open a non-derived symbol, I can click on "Edit" > "Update symbol fields..." menu. But it fails with the message "Symbol is not derived from another symbol". When I open a derived symbol from this symbol, the menu option is not active. Expected behavior : I can access the "Edit>Update symbol fields..." action on a derived symbol, to reflect the field of the parent part. As introduced by 0f463ee8

Parent symbol (not derived): image

Derived, symbol : image

Steps to reproduce

  1. Create a symbol A
  2. Create a symbol B, derived from symbol A
  3. Edit symbol A fields (add a field, change value of another field)
  4. Open symbol B, try to update the field to match parent (Using Edit>Update Symbol Fields... )

KiCad Version

Application: KiCad Symbol Editor x64 on x64

Version: 10.0.0, release build

Libraries:
	wxWidgets 3.3.2 
	FreeType 2.13.3
	HarfBuzz 12.3.0
	FontConfig 2.17.1

Platform: Windows 11 (build 26200), 64-bit edition, 64 bit, Little endian, wxMSW
OpenGL: Intel, Intel(R) Iris(R) Xe Graphics, 4.6.0 - Build 32.0.101.7080

	wxWidgets: 3.3.2 (wchar_t,STL containers)
	Boost: 1.90.0
	OCC: 7.9.2
	Curl: 8.18.0
	ngspice: 45.2
	Compiler: Visual C++ 1944 without C++ ABI
	KICAD_IPC_API=ON
	KICAD_USE_PCH=OFF

Locale: 
	Lang: en_GB
	Enc: UTF-8
	Num: 1,234.5
	Encoded кΩ丈: D0BACEA9E4B888 (sys), D0BACEA9E4B888 (utf8)
Edited by AloyseTech