Assertion / Crash when pasting garbage into edit field
Description
By accident I've pasted some garbage into one of the edit fields in the footprint properties dialog:
It resulted in an assertion dialog box (Fedora builds are still debug builds), clicking "continue" killed the whole thing. It should just ignore garbage input and not crash.
KiCad Version
Application: Pcbnew
Version: 5.99.0-unknown-r18762-b48a6274, debug build
Libraries:
wxWidgets 3.0.4
libcurl/7.66.0 OpenSSL/1.1.1g-fips zlib/1.2.11 brotli/1.0.7 libidn2/2.3.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.4/openssl/zlib nghttp2/1.41.0
Platform: Linux 5.6.16-200.fc31.x86_64 x86_64, 64 bit, Little endian, wxGTK
Build Info:
Build date: Jun 25 2020 17:43:13
wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
Boost: 1.69.0
OCC: 7.4.0
Curl: 7.66.0
Compiler: GCC 9.3.1 with C++ ABI 1013
Build settings:
KICAD_SCRIPTING=ON
KICAD_SCRIPTING_MODULES=ON
KICAD_SCRIPTING_PYTHON3=ON
KICAD_SCRIPTING_WXPYTHON=ON
KICAD_SCRIPTING_WXPYTHON_PHOENIX=ON
KICAD_SCRIPTING_ACTION_MENU=ON
BUILD_GITHUB_PLUGIN=ON
KICAD_USE_OCC=ON
KICAD_SPICE=ON
KICAD_STDLIB_DEBUG=OFF
KICAD_STDLIB_LIGHT_DEBUG=OFF
KICAD_SANITIZE=OFF