From e535489a0a1eae24b2d3c242cbac32cd003aef74 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Thu, 3 Sep 2020 15:00:58 +0100 Subject: [PATCH] Pad settings need to be copied to both master *and* edited pad. Fixes https://gitlab.com/kicad/code/kicad/issues/5447 --- pcbnew/dialogs/dialog_pad_properties.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pcbnew/dialogs/dialog_pad_properties.cpp b/pcbnew/dialogs/dialog_pad_properties.cpp index 5ecbdf2e9c..c7cc62ce6c 100644 --- a/pcbnew/dialogs/dialog_pad_properties.cpp +++ b/pcbnew/dialogs/dialog_pad_properties.cpp @@ -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() );