Infinite dialog loop when importing a netlist
Description
The import netlist dialog remembers your last used path to a netlist which is useful. However, if that path does not exist anymore then it goes into an infinite loop, repeatedly popping up this modal message box with no way to move forward except to force quit PCBNEW.
Steps to reproduce
- Use File > Import > Netlist... at least once to populate the most recent netlist path.
- Move/delete/rename this netlist file.
- Go back into File > Import > Netlist...
- You will be stuck in a modal dialog box loop.
KiCad Version
Application: KiCad PCB Editor
Version: 6.0.1-79c1e3a40b~116~ubuntu21.10.1, release build
Libraries:
wxWidgets 3.0.5
Platform: Linux 5.15.15-76051515-generic x86_64, 64 bit, Little endian, wxGTK, pop, x11
wxWidgets: 3.0.5 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
Boost: 1.74.0
OCC: 7.5.2
Curl: 7.74.0
ngspice: 35
Compiler: GCC 11.2.0 with C++ ABI 1016
Build settings:
KICAD_USE_OCC=ON
KICAD_SPICE=ON