fix 723793
This commit is contained in:
parent
36773d6677
commit
c303d3f8bd
|
@ -622,7 +622,9 @@ wxString LIB_FIELD::GetName(bool aTranslate) const
|
|||
void LIB_FIELD::SetName( const wxString& aName )
|
||||
{
|
||||
// Mandatory field names are fixed.
|
||||
if( m_id > MANDATORY_FIELDS )
|
||||
|
||||
// So what? Why should the low level code be in charge of such a policy issue?
|
||||
if( m_id < MANDATORY_FIELDS )
|
||||
return;
|
||||
|
||||
if( m_name != aName )
|
||||
|
|
Loading…
Reference in New Issue