eeschema: do not propagate text field change to other units for not annotated symbols
Fixes #4602 https://gitlab.com/kicad/code/kicad/issues/4602
This commit is contained in:
parent
b681af4556
commit
e099a82d15
|
@ -312,8 +312,10 @@ void DIALOG_SCH_EDIT_ONE_FIELD::UpdateField( SCH_FIELD* aField, SCH_SHEET_PATH*
|
|||
&& ( fieldType == VALUE || fieldType == FOOTPRINT || fieldType == DATASHEET ) )
|
||||
{
|
||||
const wxString thisRef = component->GetRef( &( editFrame->GetCurrentSheet() ) );
|
||||
int thisUnit = component->GetUnit();
|
||||
|
||||
if( thisRef.Last() != '?' ) // Obvioulsy, the component must be annotated
|
||||
{
|
||||
int thisUnit = component->GetUnit();
|
||||
SCH_REFERENCE_LIST components;
|
||||
editFrame->GetCurrentSheet().GetComponents( components );
|
||||
|
||||
|
@ -330,6 +332,7 @@ void DIALOG_SCH_EDIT_ONE_FIELD::UpdateField( SCH_FIELD* aField, SCH_SHEET_PATH*
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if( component && positioningModified )
|
||||
component->ClearFieldsAutoplaced();
|
||||
|
|
Loading…
Reference in New Issue