Copy Pad_Master when copying BOARD_DESIGN_SETTINGS.
Fixes https://gitlab.com/kicad/code/kicad/issues/10932
This commit is contained in:
parent
cb16ad7557
commit
d2069e1548
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue