Pad settings need to be copied to both master *and* edited pad.

Fixes https://gitlab.com/kicad/code/kicad/issues/5447
This commit is contained in:
Jeff Young 2020-09-03 15:00:58 +01:00
parent eccb1e612e
commit e535489a0a
1 changed files with 2 additions and 2 deletions

View File

@ -1473,11 +1473,11 @@ bool DIALOG_PAD_PROPERTIES::TransferDataFromWindow()
}
m_currentPad->SetLayerSet( m_padMaster->GetLayerSet() );
m_currentPad->SetRemoveUnconnected( m_padMaster->GetRemoveUnconnected() );
m_currentPad->SetKeepTopBottom( m_padMaster->GetKeepTopBottom() );
if( m_isFlipped )
{
m_currentPad->SetLayerSet( FlipLayerMask( m_currentPad->GetLayerSet() ) );
}
m_currentPad->SetName( m_padMaster->GetName() );