Propagate exclude from board to all units of a component

Fixes https://gitlab.com/kicad/code/kicad/issues/4650
This commit is contained in:
Ian McInerney 2020-06-12 14:25:49 +01:00
parent 1973153368
commit a97f14e217
1 changed files with 1 additions and 0 deletions

View File

@ -536,6 +536,7 @@ bool DIALOG_EDIT_COMPONENT_IN_SCHEMATIC::TransferDataFromWindow()
otherUnit->GetField( FOOTPRINT )->SetText( m_fields->at( FOOTPRINT ).GetText() );
otherUnit->GetField( DATASHEET )->SetText( m_fields->at( DATASHEET ).GetText() );
otherUnit->SetIncludeInBom( !m_cbExcludeFromBom->IsChecked() );
otherUnit->SetIncludeOnBoard( !m_cbExcludeFromBoard->IsChecked() );
GetParent()->RefreshItem( otherUnit );
}
}