Commit 5491bdc6 authored by dickelbeck's avatar dickelbeck

BOARD_ITEM::MenuText()

parent c748c1bc
...@@ -166,6 +166,8 @@ wxString BOARD_ITEM::MenuText( const BOARD* aPcb ) const ...@@ -166,6 +166,8 @@ wxString BOARD_ITEM::MenuText( const BOARD* aPcb ) const
text << wxT( " [" ) << net->m_Netname << wxT( "]" ); text << wxT( " [" ) << net->m_Netname << wxT( "]" );
} }
if( shape != VIA_NORMALE )
{
// say which layers, only two for now // say which layers, only two for now
int topLayer; int topLayer;
int botLayer; int botLayer;
...@@ -173,6 +175,7 @@ wxString BOARD_ITEM::MenuText( const BOARD* aPcb ) const ...@@ -173,6 +175,7 @@ wxString BOARD_ITEM::MenuText( const BOARD* aPcb ) const
text << _( " on " ) << ReturnPcbLayerName( topLayer).Trim() << wxT(" <-> ") text << _( " on " ) << ReturnPcbLayerName( topLayer).Trim() << wxT(" <-> ")
<< ReturnPcbLayerName( botLayer ).Trim(); << ReturnPcbLayerName( botLayer ).Trim();
} }
}
break; break;
case TYPEMARQUEUR: case TYPEMARQUEUR:
......
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