Bus added in hierarchical sheets does not have members for unfolding
Description
When adding a bus alias to a schematic, this alias is not available in sub schematics until after your either: a) reboot KiCAD or b) open the bus alias dialog and re-save the bus definition.
Steps to reproduce
Follow video.
KiCad Version
Application: KiCad Schematic Editor x86_64 on x86_64
Version: 8.0.2, release build
Libraries:
wxWidgets 3.2.4
FreeType 2.13.2
HarfBuzz 8.4.0
FontConfig 2.15.0
libcurl/8.7.1 OpenSSL/3.3.0 zlib/1.3.1 brotli/1.1.0 zstd/1.5.5 libidn2/2.3.7 libpsl/0.21.5 libssh2/1.11.0 nghttp2/1.61.0 nghttp3/1.2.0
Platform: Arch Linux, 64 bit, Little endian, wxGTK, X11, awesome, x11
Build Info:
Date: Apr 28 2024 16:02:51
wxWidgets: 3.2.4 (wchar_t,wx containers) GTK+ 3.24
Boost: 1.83.0
OCC: 7.7.2
Curl: 8.7.1
ngspice: 42
Compiler: GCC 13.2.1 with C++ ABI 1018
Build settings:
KICAD_USE_EGL=ON