diff --git a/pcbnew/board_connected_item.cpp b/pcbnew/board_connected_item.cpp index 363edcda97..00280091cd 100644 --- a/pcbnew/board_connected_item.cpp +++ b/pcbnew/board_connected_item.cpp @@ -161,9 +161,9 @@ static struct BOARD_CONNECTED_ITEM_DESC propMgr.AddProperty( new PROPERTY_ENUM( _HKI( "Net" ), &BOARD_CONNECTED_ITEM::SetNetCode, &BOARD_CONNECTED_ITEM::GetNetCode ) ); - propMgr.AddProperty( new PROPERTY( _HKI( "NetName" ), + propMgr.AddProperty( new PROPERTY( _HKI( "Net Name" ), NO_SETTER( BOARD_CONNECTED_ITEM, wxString ), &BOARD_CONNECTED_ITEM::GetNetname ) ); - propMgr.AddProperty( new PROPERTY( _HKI( "NetClass" ), + propMgr.AddProperty( new PROPERTY( _HKI( "Net Class" ), NO_SETTER( BOARD_CONNECTED_ITEM, wxString ), &BOARD_CONNECTED_ITEM::GetNetClassName ) ); } } _BOARD_CONNECTED_ITEM_DESC; diff --git a/pcbnew/dialogs/pcb_properties_panel.cpp b/pcbnew/dialogs/pcb_properties_panel.cpp index 415bb7fc53..330a83e096 100644 --- a/pcbnew/dialogs/pcb_properties_panel.cpp +++ b/pcbnew/dialogs/pcb_properties_panel.cpp @@ -123,6 +123,6 @@ void PCB_PROPERTIES_PANEL::updateLists( const BOARD* aBoard ) nets.Add( netinfo.second->GetNetname(), netinfo.first ); } - auto netProperty = m_propMgr.GetProperty( TYPE_HASH( BOARD_CONNECTED_ITEM ), _( "Net" ) ); + auto netProperty = m_propMgr.GetProperty( TYPE_HASH( BOARD_CONNECTED_ITEM ), _HKI( "Net" ) ); netProperty->SetChoices( nets ); }