eeschema: Fix assignment from d30ac2967

This commit is contained in:
Seth Hillbrand 2018-06-28 05:58:22 -07:00
parent 76f151b4d8
commit 06ff56325c
1 changed files with 1 additions and 2 deletions

View File

@ -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;