[Feature Request] [PCBNew] When using the draw polygon tool ctrl-z undoes previous finished task instead of last added point in polygon
Description
Steps to reproduce
- Add some random tracks to the PCB
- Start to draw a polygon (ctrl + shift + p) and add some points
- Press ctrl-z and the last track added disappears.
- I would expect the last added point in the polygon to disappear.
KiCad Version
Application: KiCad PCB Editor x86_64 on x86_64
Version: 7.0.5-7.0.5~ubuntu20.04.1, release build
Libraries:
wxWidgets 3.2.1
FreeType 2.10.1
HarfBuzz 6.0.0
FontConfig 2.13.1
libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3
Platform: Ubuntu 20.04.6 LTS, 64 bit, Little endian, wxGTK, ubuntu, x11
Build Info:
Date: May 31 2023 23:56:55
wxWidgets: 3.2.1 (wchar_t,wx containers) GTK+ 3.24
Boost: 1.71.0
OCC: 7.5.2
Curl: 7.88.1
ngspice: 38
Compiler: GCC 9.4.0 with C++ ABI 1013
Build settings:
KICAD_SPICE=ON