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( aForceFieldsVisibleAttribute )
|
||||||
{
|
{
|
||||||
if( aFieldsVisibleAttributeState )
|
component->GetField( FOOTPRINT )
|
||||||
component->GetField( FOOTPRINT )->SetVisible( false );
|
->SetVisible( aFieldsVisibleAttributeState );
|
||||||
else
|
|
||||||
component->GetField( FOOTPRINT )->SetVisible( true );
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue