grid value display not updated in footprint library browser

Description

The grid value in the footprint library browser can be changed and this is respected on the preview canvas.

But the displayed grid value is not updated. This affects the grid value shown:

  • in statusbar
  • in grid-pulldown menu
  • in RMB-click grid-context menu

Steps to reproduce

  1. open any project, open pcb editor
  2. open footprint library browser
  3. enable grid display in FP preview window
  4. change grid value (either with grid pulldown menu or with RMB-click-->context menu-->grid)
  5. note: the canvas shows different grid points
  6. but the displayed grid values don't change, they still display their initial value

footprint_library_browser_grid_value

KiCad Version

Application: KiCad Footprint Library Browser x64 on x64

Version: 9.99.0-4909-g3734bb3b0c, release build

Libraries:
	wxWidgets 3.3.1
	FreeType 2.13.3
	HarfBuzz 12.2.0
	FontConfig 2.15.0

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

	wxWidgets: 3.3.1 (wchar_t,STL containers)
	Boost: 1.89.0
	OCC: 7.9.2
	Curl: 8.17.0-DEV
	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)