eeschema: Fix assignment from d30ac2967
This commit is contained in:
parent
76f151b4d8
commit
06ff56325c
|
@ -64,8 +64,7 @@ void LIB_EDIT_FRAME::EditField( LIB_FIELD* aField )
|
|||
if( dlg.ShowQuasiModal() != wxID_OK )
|
||||
return;
|
||||
|
||||
newFieldValue = dlg.GetText();
|
||||
LIB_ID::FixIllegalChars( newFieldValue, LIB_ID::ID_SCH );
|
||||
newFieldValue = LIB_ID::FixIllegalChars( dlg.GetText(), LIB_ID::ID_SCH );
|
||||
wxString oldFieldValue = aField->GetFullText( m_unit );
|
||||
bool renamed = aField->GetId() == VALUE && newFieldValue != oldFieldValue;
|
||||
|
||||
|
|
Loading…
Reference in New Issue