Fixed the logic for "do you want to make the footprint visible" requester
(meaning was inverted)
This commit is contained in:
parent
e0303a4558
commit
c650c378c0
|
@ -122,10 +122,8 @@ bool SCH_EDIT_FRAME::ProcessCmpToFootprintLinkFile( wxString& aFullFilename,
|
|||
|
||||
if( aForceFieldsVisibleAttribute )
|
||||
{
|
||||
if( aFieldsVisibleAttributeState )
|
||||
component->GetField( FOOTPRINT )->SetVisible( false );
|
||||
else
|
||||
component->GetField( FOOTPRINT )->SetVisible( true );
|
||||
component->GetField( FOOTPRINT )
|
||||
->SetVisible( aFieldsVisibleAttributeState );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue