Pcbnew drill dialog does not close on escape key
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
Low
|
Jeff Young |
Bug Description
I've tried all of the usual methods to get the escape key to close the Pcbnew generate drill file dialog. I'm pretty sure this used to work. Any ideas as to why this doesn't work with this dialog?
Application: kicad
Version: (5.0.0-
Libraries:
wxWidgets 3.0.4
libcurl/7.59.0 OpenSSL/1.0.2o (WinSSL) zlib/1.2.11 brotli/1.0.4 libidn2/2.0.5 nghttp2/1.32.0
Platform: Windows 8 (build 9200), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
wxWidgets: 3.0.4 (wchar_t,wx containers,
Boost: 1.67.0
OpenCASCADE Community Edition: 6.8.0
Curl: 7.59.0
Compiler: GCC 7.3.0 with C++ ABI 1011
Build settings:
USE_
USE_
KICAD_
KICAD_
KICAD_
KICAD_
BUILD_
KICAD_
KICAD_
KICAD_SPICE=ON
Changed in kicad: | |
status: | Fix Committed → Fix Released |
Changed in kicad: | |
milestone: | 5.1.0 → 5.0.1 |
This is because the dialog itself somehow got the ID wxID_CANCEL, so when EmulateButtonCl ickIfPresent( ) tries to find the Cancel button it gets the dialog instead, and then the dynamic cast to button returns NULL.