Change symbol: error message for power-symbol with slash
Description
Using the "Edit-->Change symbol"-Tool to replace a power-symbol with another power-symbol which contains a slash in the symbol-name (for instance: replace "+5V" with "+5V/2") results in an error-message in the change-symbol dialog: "can't find symbol "+5/V2" (see picture)
affects also v7.99
Steps to reproduce
- open attached project, open schematic: change_symbol_powersymbol_with_slash.zip
- the project contains an project-library for testing purposes
- select power-symbol 1V0 (see arrow)
- Edit-->Change symbols:
- only selected item
- choose replacement-symbol:
- library "00project_supply"
- power-symbol "+5V/2"
- click "Change":
- get error "can't find symbol "+5/V2" (see picture)
KiCad Version
Application: KiCad Schematic Editor x64 on x64
Version: (7.0.0-18-ga48eace90a), release build
Libraries:
wxWidgets 3.2.1
FreeType 2.12.1
HarfBuzz 5.0.1
FontConfig 2.14.1
Platform: Windows 10 (build 19044), 64-bit edition, 64 bit, Little endian, wxMSW
wxWidgets: 3.2.1 (wchar_t,wx containers)
Boost: 1.80.0
OCC: 7.6.2
Curl: 7.83.1-DEV
ngspice: 39
Compiler: Visual C++ 1934 without C++ ABI
Build settings:
KICAD_SPICE=ON
```ol
Edited by Maik Freitag