diff --git a/pcbnew/board_connected_item.cpp b/pcbnew/board_connected_item.cpp index 6366a36848..163f62b45a 100644 --- a/pcbnew/board_connected_item.cpp +++ b/pcbnew/board_connected_item.cpp @@ -224,6 +224,8 @@ static struct BOARD_CONNECTED_ITEM_DESC propMgr.AddProperty( new PROPERTY_ENUM( _( "Net" ), &BOARD_CONNECTED_ITEM::SetNetCode, &BOARD_CONNECTED_ITEM::GetNetCode ) ); + propMgr.AddProperty( new PROPERTY( _( "NetName" ), + NO_SETTER( BOARD_CONNECTED_ITEM, wxString ), &BOARD_CONNECTED_ITEM::GetNetname ) ); propMgr.AddProperty( new PROPERTY( _( "NetClass" ), NO_SETTER( BOARD_CONNECTED_ITEM, wxString ), &BOARD_CONNECTED_ITEM::GetNetClassName ) ); }