Fix typo causing custom shaped pads to be flipped when opening the pad properties dialog

Fixes https://gitlab.com/kicad/code/kicad/-/issues/6180
This commit is contained in:
Roberto Fernandez Bautista 2020-10-27 00:30:14 +00:00 committed by Wayne Stambaugh
parent d75151a847
commit 4ea8f29a43
1 changed files with 1 additions and 1 deletions

View File

@ -1528,7 +1528,7 @@ bool DIALOG_PAD_PROPERTIES::TransferDataFromWindow()
{ {
m_currentPad->SetLayerSet( FlipLayerMask( m_currentPad->GetLayerSet() ) ); m_currentPad->SetLayerSet( FlipLayerMask( m_currentPad->GetLayerSet() ) );
// flip custom pad shapes (up/down) // flip custom pad shapes (up/down)
m_dummyPad->FlipPrimitives( false ); m_currentPad->FlipPrimitives( false );
} }
m_currentPad->SetLayerSet( m_padMaster->GetLayerSet() ); m_currentPad->SetLayerSet( m_padMaster->GetLayerSet() );