Swapping global label doesn't swap intersheet reference
Description
When swapping two global labels with intersheet reference, the intersheet fields are not swapped. They stay at their previous location.
Steps to reproduce
- Enable display of intersheet references
- Place two global labels
- Swap the global labels
KiCad Version
Application: KiCad Schematic Editor x86_64 on x86_64
Version: 7.99.0-unknown-e208685f85~170~ubuntu22.04.1, release 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.14
Platform: Ubuntu 22.04.2 LTS, 64 bit, Little endian, wxGTK, mate, x11
Build Info:
Date: Apr 11 2023 10:43:49
wxWidgets: 3.2.1 (wchar_t,wx containers) GTK+ 3.24
Boost: 1.74.0
OCC: 7.5.2
Curl: 7.81.0
ngspice: 38
Compiler: GCC 11.3.0 with C++ ABI 1016
Build settings: