schematics editor: Undo does not work for wire operations
Description
Undo function has no effect on wire operations, at least, create and delete (or cut). A short screen recording demonstrating the issue is attached.
Steps to reproduce
- Create a wire. It does not matter if it's floating or connected to a component.
- Press Ctrl-Z or click the Edit->Undo menu entry.
- Nothing happens. Expected behavior is that the wire should be removed.
Likewise, Undo does not restore the wire that is deleted or cut.
KiCad Version
Application: KiCad Schematic Editor x86_64 on x86_64
Version: 7.0.9+dfsg-1, release build
Libraries:
wxWidgets 3.2.4
FreeType 2.13.2
HarfBuzz 8.0.1
FontConfig 2.14.2
libcurl/8.4.0 OpenSSL/3.0.12 zlib/1.2.13 brotli/1.1.0 zstd/1.5.5 libidn2/2.3.4 libpsl/0.21.2 (+libidn2/2.3.4) libssh2/1.11.0 nghttp2/1.58.0 librtmp/2.3 OpenLDAP/2.5.13
Platform: Debian GNU/Linux trixie/sid, 64 bit, Little endian, wxGTK, KDE, x11
Build Info:
Date: Nov 16 2023 19:22:14
wxWidgets: 3.2.4 (wchar_t,wx containers) GTK+ 3.24
Boost: 1.74.0
OCC: 7.6.3
Curl: 8.4.0
ngspice: 41
Compiler: GCC 13.2.0 with C++ ABI 1018
Build settings:
KICAD_SPICE=ON
Edited by shapirus