Undoing a hierarchial sheet rename does not update the schematic tree
Description
Steps to reproduce
- Open up a new schematic in eeschema
- Draw a new hierarchial page - page appears in the tree fine
- Rename the new page to something else - the page name got updated in the tree fine
- Hit Ctrl+Z - the page got renamed back to the original name on the sheet, however the tree holds the old name
KiCad Version
Application: KiCad Schematic Editor x86_64 on x86_64
Version: 8.99.0-612-gbd823af0de-dirty, debug build
Libraries:
wxWidgets 3.2.1
FreeType 2.11.1
HarfBuzz 2.7.4
FontConfig 2.13.1
libcurl/7.81.0 OpenSSL/3.0.2 zlib/1.2.11 brotli/1.0.9 zstd/1.4.8 libidn2/2.3.2 libpsl/0.21.0 (+libidn2/2.3.2) libssh/0.9.6/openssl/zlib nghttp2/1.43.0 librtmp/2.3 OpenLDAP/2.5.17
Platform: KDE neon 6.0, 64 bit, Little endian, wxGTK, X11, KDE, x11
Build Info:
Date: Apr 10 2024 23:35:54
wxWidgets: 3.2.1 (wchar_t,wx containers) GTK+ 3.24
Boost: 1.74.0
OCC: 7.6.3
Curl: 7.81.0
ngspice: 31
Compiler: GCC 11.4.0 with C++ ABI 1016
Build settings:
KICAD_STDLIB_DEBUG=OFF
KICAD_STDLIB_LIGHT_DEBUG=OFF
KICAD_SANITIZE_ADDRESS=OFF
KICAD_SANITIZE_THREADS=OFF