From 4663da4709196c1b59a442ff66ca8b4b5f48e407 Mon Sep 17 00:00:00 2001 From: Wayne Stambaugh Date: Thu, 16 Sep 2021 09:09:44 -0400 Subject: [PATCH] Eeschema: don't escape document file alias names in legacy plugin. Escaping the document file (.dcm) alias names breaks the link between the document file and the library (.lib) file. This causes the information in the document file to be lost. Fixes https://gitlab.com/kicad/code/kicad/-/issues/9130 --- eeschema/sch_plugins/legacy/sch_legacy_plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eeschema/sch_plugins/legacy/sch_legacy_plugin.cpp b/eeschema/sch_plugins/legacy/sch_legacy_plugin.cpp index 32b4154e3e..2121711491 100644 --- a/eeschema/sch_plugins/legacy/sch_legacy_plugin.cpp +++ b/eeschema/sch_plugins/legacy/sch_legacy_plugin.cpp @@ -2725,7 +2725,7 @@ void SCH_LEGACY_PLUGIN_CACHE::loadDocs() aliasName = wxString::FromUTF8( line ); aliasName.Trim(); - aliasName = EscapeString( aliasName, CTX_LIBID ); + // aliasName = EscapeString( aliasName, CTX_LIBID ); LIB_SYMBOL_MAP::iterator it = m_symbols.find( aliasName );