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:
parent
fe1072a06b
commit
e9b7737692
|
@ -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 );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue