Handle net directive in navigator
This commit is contained in:
parent
cd2925d3d7
commit
00538548f5
|
@ -175,6 +175,16 @@ static wxString GetNetNavigatorItemText( const SCH_ITEM* aItem,
|
||||||
aUnitsProvider->MessageTextFromValue( entry->GetEnd().y ) );
|
aUnitsProvider->MessageTextFromValue( entry->GetEnd().y ) );
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case SCH_DIRECTIVE_LABEL_T:
|
||||||
|
{
|
||||||
|
const SCH_DIRECTIVE_LABEL* entry = static_cast<const SCH_DIRECTIVE_LABEL*>( aItem );
|
||||||
|
wxCHECK( entry, retv );
|
||||||
|
|
||||||
|
retv.Printf( _( "Netclass label '%s' at %s, %s" ), UnescapeString( entry->GetText() ),
|
||||||
|
aUnitsProvider->MessageTextFromValue( entry->GetPosition().x ),
|
||||||
|
aUnitsProvider->MessageTextFromValue( entry->GetPosition().y ) );
|
||||||
|
break;
|
||||||
|
}
|
||||||
default:
|
default:
|
||||||
retv.Printf( _( "Unhandled item type %d" ), aItem->Type() );
|
retv.Printf( _( "Unhandled item type %d" ), aItem->Type() );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue