Using Project "Save As" to rename it to the same name as a sub-sheet causes issues.
Steps to reproduce
- Unpack this project: SaveAsTest.zip
- Save project As "C"
- Save project As "Proj"
- When opening the schematic ("Proj.kicad_sch"), there's an error while reading "C.kicad_sch":
KiCad Version
Application: KiCad (64-bit)
Version: (6.0.2), release build
Libraries:
wxWidgets 3.1.5
libcurl/7.78.0-DEV Schannel zlib/1.2.11
Platform: Windows 10 (build 18363), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
Date: Feb 12 2022 14:32:09
wxWidgets: 3.1.5 (wchar_t,wx containers)
Boost: 1.76.0
OCC: 7.6.0
Curl: 7.78.0-DEV
ngspice: 36
Compiler: Visual C++ 1928 without C++ ABI
Build settings:
KICAD_USE_OCC=ON
KICAD_SPICE=ON
Edited by Jeff Young