Commit 5491bdc6 authored by dickelbeck's avatar dickelbeck

BOARD_ITEM::MenuText()

parent c748c1bc
...@@ -166,12 +166,15 @@ wxString BOARD_ITEM::MenuText( const BOARD* aPcb ) const ...@@ -166,12 +166,15 @@ wxString BOARD_ITEM::MenuText( const BOARD* aPcb ) const
text << wxT( " [" ) << net->m_Netname << wxT( "]" ); text << wxT( " [" ) << net->m_Netname << wxT( "]" );
} }
// say which layers, only two for now if( shape != VIA_NORMALE )
int topLayer; {
int botLayer; // say which layers, only two for now
via->ReturnLayerPair( &topLayer, &botLayer ); int topLayer;
text << _( " on " ) << ReturnPcbLayerName( topLayer).Trim() << wxT(" <-> ") int botLayer;
<< ReturnPcbLayerName( botLayer ).Trim(); via->ReturnLayerPair( &topLayer, &botLayer );
text << _( " on " ) << ReturnPcbLayerName( topLayer).Trim() << wxT(" <-> ")
<< ReturnPcbLayerName( botLayer ).Trim();
}
} }
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment