Stop erroneously accepting bus alias labels without curly braces

This commit is contained in:
Jon Evans 2019-05-23 23:06:51 -04:00
parent 4e6c9ac7b1
commit 4c33320cbc
1 changed files with 0 additions and 12 deletions

View File

@ -169,18 +169,6 @@ void SCH_CONNECTION::ConfigureFromLabel( wxString aLabel )
}
}
}
else if( auto alias = g_ConnectionGraph->GetBusAlias( aLabel ) )
{
m_type = CONNECTION_BUS_GROUP;
m_name = aLabel;
for( auto alias_member : alias->Members() )
{
auto member = std::make_shared< SCH_CONNECTION >( m_parent );
member->ConfigureFromLabel( alias_member );
m_members.push_back( member );
}
}
else
{
m_name = aLabel;