Escape net names coming from aliases

Fixes https://gitlab.com/kicad/code/kicad/-/issues/15212


(cherry picked from commit 24e613f60c)
This commit is contained in:
Jon Evans 2023-10-31 22:06:21 -04:00
parent fe1072a06b
commit e9b7737692
1 changed files with 1 additions and 1 deletions

View File

@ -180,7 +180,7 @@ void SCH_CONNECTION::ConfigureFromLabel( const wxString& aLabel )
auto member = std::make_shared< SCH_CONNECTION >( m_parent, m_sheet ); auto member = std::make_shared< SCH_CONNECTION >( m_parent, m_sheet );
member->SetPrefix( prefix ); member->SetPrefix( prefix );
member->SetGraph( m_graph ); member->SetGraph( m_graph );
member->ConfigureFromLabel( alias_member ); member->ConfigureFromLabel( EscapeString( alias_member, CTX_NETNAME ) );
m_members.push_back( member ); m_members.push_back( member );
} }
} }