Commit c650c378 authored by Lorenzo Marcantonio's avatar Lorenzo Marcantonio

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

(meaning was inverted)
parent e0303a45
...@@ -122,10 +122,8 @@ bool SCH_EDIT_FRAME::ProcessCmpToFootprintLinkFile( wxString& aFullFilename, ...@@ -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 );
} }
} }
} }
......
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