BOARD_CONNECTED_ITEM: added NetName property

This commit is contained in:
Tomasz Wlostowski 2020-07-27 15:31:11 +02:00
parent 6615397541
commit 216e587965
1 changed files with 2 additions and 0 deletions

View File

@ -224,6 +224,8 @@ static struct BOARD_CONNECTED_ITEM_DESC
propMgr.AddProperty( new PROPERTY_ENUM<BOARD_CONNECTED_ITEM, int>( _( "Net" ),
&BOARD_CONNECTED_ITEM::SetNetCode, &BOARD_CONNECTED_ITEM::GetNetCode ) );
propMgr.AddProperty( new PROPERTY<BOARD_CONNECTED_ITEM, wxString>( _( "NetName" ),
NO_SETTER( BOARD_CONNECTED_ITEM, wxString ), &BOARD_CONNECTED_ITEM::GetNetname ) );
propMgr.AddProperty( new PROPERTY<BOARD_CONNECTED_ITEM, wxString>( _( "NetClass" ),
NO_SETTER( BOARD_CONNECTED_ITEM, wxString ), &BOARD_CONNECTED_ITEM::GetNetClassName ) );
}