PANEL_SETUP_BOARD_STACKUP: save the m_HasDielectricConstrains BOARD_STACKUP member.
This member was not saved in the board stackup data. Fixes #15690 https://gitlab.com/kicad/code/kicad/-/issues/15690
This commit is contained in:
parent
e24c6d04ff
commit
0a26ab1cae
|
@ -616,6 +616,7 @@ void BOARD_STACKUP::BuildDefaultStackupList( const BOARD_DESIGN_SETTINGS* aSetti
|
|||
{
|
||||
const BOARD_STACKUP& source_stackup = aSettings->GetStackupDescriptor();
|
||||
m_EdgeConnectorConstraints = source_stackup.m_EdgeConnectorConstraints;
|
||||
m_HasDielectricConstrains = source_stackup.m_HasDielectricConstrains;
|
||||
m_CastellatedPads = source_stackup.m_CastellatedPads;
|
||||
m_EdgePlating = source_stackup.m_EdgePlating;
|
||||
m_FinishType = source_stackup.m_FinishType;
|
||||
|
|
|
@ -1271,6 +1271,12 @@ bool PANEL_SETUP_BOARD_STACKUP::TransferDataFromWindow()
|
|||
modified = true;
|
||||
}
|
||||
|
||||
if( brd_stackup.m_HasDielectricConstrains != m_impedanceControlled->GetValue() )
|
||||
{
|
||||
brd_stackup.m_HasDielectricConstrains = m_impedanceControlled->GetValue();
|
||||
modified = true;
|
||||
}
|
||||
|
||||
if( !m_brdSettings->m_HasStackup )
|
||||
{
|
||||
m_brdSettings->m_HasStackup = true;
|
||||
|
|
Loading…
Reference in New Issue