Fixed the logic for "do you want to make the footprint visible" requester

(meaning was inverted)
This commit is contained in:
Lorenzo Marcantonio 2013-03-30 18:49:58 +01:00
parent e0303a4558
commit c650c378c0
1 changed files with 2 additions and 4 deletions

View File

@ -122,10 +122,8 @@ bool SCH_EDIT_FRAME::ProcessCmpToFootprintLinkFile( wxString& aFullFilename,
if( aForceFieldsVisibleAttribute ) if( aForceFieldsVisibleAttribute )
{ {
if( aFieldsVisibleAttributeState ) component->GetField( FOOTPRINT )
component->GetField( FOOTPRINT )->SetVisible( false ); ->SetVisible( aFieldsVisibleAttributeState );
else
component->GetField( FOOTPRINT )->SetVisible( true );
} }
} }
} }