Fixed the logic for "do you want to make the footprint visible" requester
(meaning was inverted)
This commit is contained in:
parent
00bc96a2b7
commit
b5a7e66134
|
@ -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