Require client to specify whether they want resolved values or not.

Fixes https://gitlab.com/kicad/code/kicad/issues/6408
This commit is contained in:
Jeff Young
2020-11-17 21:36:48 +00:00
parent 54427fd594
commit c89676e39d
10 changed files with 51 additions and 44 deletions
+4 -4
View File
@@ -215,13 +215,13 @@ void SCH_EDIT_FRAME::AnnotateComponents( bool aAnnotateSchematic,
if( symbol->GetUnitCount() > 1 )
msg.Printf( _( "Updated %s (unit %s) from %s to %s" ),
symbol->GetValue( sheet ),
symbol->GetValue( sheet, true ),
LIB_PART::SubReference( symbol->GetUnit(), false ),
prevRef,
newRef );
else
msg.Printf( _( "Updated %s from %s to %s" ),
symbol->GetValue( sheet ),
symbol->GetValue( sheet, true ),
prevRef,
newRef );
}
@@ -229,12 +229,12 @@ void SCH_EDIT_FRAME::AnnotateComponents( bool aAnnotateSchematic,
{
if( symbol->GetUnitCount() > 1 )
msg.Printf( _( "Annotated %s (unit %s) as %s" ),
symbol->GetValue( sheet ),
symbol->GetValue( sheet, true ),
LIB_PART::SubReference( symbol->GetUnit(), false ),
newRef );
else
msg.Printf( _( "Annotated %s as %s" ),
symbol->GetValue( sheet ),
symbol->GetValue( sheet, true ),
newRef );
}