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,
if( aForceFieldsVisibleAttribute )
{
if( aFieldsVisibleAttributeState )
component->GetField( FOOTPRINT )->SetVisible( false );
else
component->GetField( FOOTPRINT )->SetVisible( true );
component->GetField( FOOTPRINT )
->SetVisible( aFieldsVisibleAttributeState );
}
}
}
......
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