Commit 5491bdc6 authored by dickelbeck's avatar dickelbeck
Browse files

BOARD_ITEM::MenuText()

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

    case TYPEMARQUEUR: