Schematic Editor: Crash if "M" pressed after clicking on end of unconnected wire
Description
Schematic editor crashes with keypress. I'm not sure if the action in progress could be changed from extending a wire to moving the endpoint instead, but either way it shouldn't crash.
Steps to reproduce
- Open a schematic document
- Add a wire, then return to selection cursor
- Click on an unconnected end and hold mouse button down
- Press M on keyboard
KiCad Version
Application: KiCad Schematic Editor
Version: (6.0.9-0), release build
Libraries:
wxWidgets 3.1.5
libcurl/7.84.0 (SecureTransport) LibreSSL/3.3.6 zlib/1.2.11 nghttp2/1.47.0
Platform: macOS Version 13.0.1 (Build 22A400), 64 bit, Little endian, wxMac
Build Info:
Date: Oct 29 2022 19:31:49
wxWidgets: 3.1.5 (wchar_t,wx containers)
Boost: 1.80.0
OCC: 7.6.3
Curl: 7.64.1
ngspice: 37
Compiler: Clang 12.0.0 with C++ ABI 1002
Build settings:
KICAD_USE_OCC=ON
KICAD_SPICE=ON
Edited by TinkerBear