Copy Pad_Master when copying BOARD_DESIGN_SETTINGS.

Fixes https://gitlab.com/kicad/code/kicad/issues/10932
This commit is contained in:
Jeff Young 2022-02-23 18:10:53 +00:00
parent cb16ad7557
commit d2069e1548
1 changed files with 2 additions and 1 deletions

View File

@ -884,7 +884,8 @@ void BOARD_DESIGN_SETTINGS::initFromOther( const BOARD_DESIGN_SETTINGS& aOther )
else
m_netClasses = aOther.m_netClasses;
m_defaultZoneSettings = aOther.m_defaultZoneSettings;
m_Pad_Master = std::make_unique<PAD>( *aOther.m_Pad_Master );
m_defaultZoneSettings = aOther.m_defaultZoneSettings;
}