Ensure prefixes and suffixes make it on to bus members
This commit is contained in:
parent
1de5b83d82
commit
8341e3f972
|
@ -287,6 +287,24 @@ wxString SCH_CONNECTION::Name( bool aIgnoreSheet ) const
|
|||
}
|
||||
|
||||
|
||||
void SCH_CONNECTION::SetPrefix( const wxString& aPrefix )
|
||||
{
|
||||
m_suffix = aPrefix;
|
||||
|
||||
for( auto m : Members() )
|
||||
m->SetPrefix( aPrefix );
|
||||
}
|
||||
|
||||
|
||||
void SCH_CONNECTION::SetSuffix( const wxString& aSuffix )
|
||||
{
|
||||
m_suffix = aSuffix;
|
||||
|
||||
for( auto m : Members() )
|
||||
m->SetSuffix( aSuffix );
|
||||
}
|
||||
|
||||
|
||||
void SCH_CONNECTION::AppendInfoToMsgPanel( MSG_PANEL_ITEMS& aList ) const
|
||||
{
|
||||
if( !ADVANCED_CFG::GetCfg().m_realTimeConnectivity || !CONNECTION_GRAPH::m_allowRealTime )
|
||||
|
|
|
@ -167,15 +167,9 @@ public:
|
|||
return m_suffix;
|
||||
}
|
||||
|
||||
void SetPrefix( const wxString& aPrefix )
|
||||
{
|
||||
m_prefix = aPrefix;
|
||||
}
|
||||
void SetPrefix( const wxString& aPrefix );
|
||||
|
||||
void SetSuffix( const wxString& aSuffix )
|
||||
{
|
||||
m_suffix = aSuffix;
|
||||
}
|
||||
void SetSuffix( const wxString& aSuffix );
|
||||
|
||||
CONNECTION_TYPE Type() const
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue