Commit c303d3f8 authored by Dick Hollenbeck's avatar Dick Hollenbeck

fix 723793

parent 36773d66
...@@ -622,7 +622,9 @@ wxString LIB_FIELD::GetName(bool aTranslate) const ...@@ -622,7 +622,9 @@ wxString LIB_FIELD::GetName(bool aTranslate) const
void LIB_FIELD::SetName( const wxString& aName ) void LIB_FIELD::SetName( const wxString& aName )
{ {
// Mandatory field names are fixed. // 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; return;
if( m_name != aName ) if( m_name != aName )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment