diff --git a/pcbnew/pcb_textbox.cpp b/pcbnew/pcb_textbox.cpp index e3b37bee6c..53b2e3877a 100644 --- a/pcbnew/pcb_textbox.cpp +++ b/pcbnew/pcb_textbox.cpp @@ -465,7 +465,9 @@ bool PCB_TEXTBOX::HitTest( const BOX2I& aRect, bool aContained, int aAccuracy ) wxString PCB_TEXTBOX::GetItemDescription( UNITS_PROVIDER* aUnitsProvider ) const { - return wxString::Format( _( "PCB Text Box on %s" ), GetLayerName() ); + return wxString::Format( _( "PCB Text Box '%s' on %s" ), + KIUI::EllipsizeMenuText( GetText() ), + GetLayerName() ); }