mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-07 17:25:33 +00:00
Fix another footprint field fallout
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19729
This commit is contained in:
parent
de7f735856
commit
877e197fec
@ -663,7 +663,7 @@ void FOOTPRINT::RemoveField( const wxString& aFieldName )
|
||||
{
|
||||
for( unsigned i = 0; i < m_fields.size(); ++i )
|
||||
{
|
||||
if( m_fields[i] && m_fields[ i ]->IsMandatory() )
|
||||
if( !m_fields[i] || m_fields[ i ]->IsMandatory() )
|
||||
continue;
|
||||
|
||||
if( aFieldName == m_fields[i]->GetName( false ) )
|
||||
|
Loading…
Reference in New Issue
Block a user