Don't double-escape netnames.
Netnames in wxChoice or wxListBox are already in internal format and don't need escaping again. Fixes: lp:1823863 * https://bugs.launchpad.net/kicad/+bug/1823863
This commit is contained in:
@@ -59,14 +59,9 @@ wxString EscapeString( const wxString& aSource, ESCAPE_CONTEXT aContext )
|
||||
}
|
||||
else if( aContext == CTX_NETNAME )
|
||||
{
|
||||
// Currently, modifying a netname creates mubh more issues than it fixes.
|
||||
// Especially the netnames shown on screen are not those living in netlists
|
||||
// breaking net info in Spice, Gerber X2 and IPC356 for instance
|
||||
#if 0
|
||||
if( c == '/' )
|
||||
converted += "{slash}";
|
||||
else
|
||||
#endif
|
||||
converted += c;
|
||||
}
|
||||
else if( aContext == CTX_LIBID )
|
||||
|
||||
Reference in New Issue
Block a user