PANEL_SETUP_BOARD_STACKUP: do not try to init params managed by PANEL_SETUP_BOARD_FINISH
From master branch Fixes #15288 https://gitlab.com/kicad/code/kicad/-/issues/15288
This commit is contained in:
parent
49772d2539
commit
7fb15269d1
|
@ -1243,7 +1243,6 @@ bool PANEL_SETUP_BOARD_STACKUP::TransferDataFromWindow()
|
||||||
// on that panel and it doesn't make sense to split it up.
|
// on that panel and it doesn't make sense to split it up.
|
||||||
|
|
||||||
BOARD_STACKUP& brd_stackup = m_brdSettings->GetStackupDescriptor();
|
BOARD_STACKUP& brd_stackup = m_brdSettings->GetStackupDescriptor();
|
||||||
|
|
||||||
STRING_FORMATTER old_stackup;
|
STRING_FORMATTER old_stackup;
|
||||||
|
|
||||||
// FormatBoardStackup() (using FormatInternalUnits()) expects a "C" locale
|
// FormatBoardStackup() (using FormatInternalUnits()) expects a "C" locale
|
||||||
|
@ -1251,12 +1250,6 @@ bool PANEL_SETUP_BOARD_STACKUP::TransferDataFromWindow()
|
||||||
LOCALE_IO dummy;
|
LOCALE_IO dummy;
|
||||||
brd_stackup.FormatBoardStackup( &old_stackup, m_board, 0 );
|
brd_stackup.FormatBoardStackup( &old_stackup, m_board, 0 );
|
||||||
|
|
||||||
brd_stackup.m_FinishType = m_stackup.m_FinishType;
|
|
||||||
brd_stackup.m_HasDielectricConstrains = m_stackup.m_HasDielectricConstrains;
|
|
||||||
brd_stackup.m_EdgeConnectorConstraints = m_stackup.m_EdgeConnectorConstraints;
|
|
||||||
brd_stackup.m_CastellatedPads = m_stackup.m_CastellatedPads;
|
|
||||||
brd_stackup.m_EdgePlating = m_stackup.m_EdgePlating;
|
|
||||||
|
|
||||||
// copy enabled items to the new board stackup
|
// copy enabled items to the new board stackup
|
||||||
brd_stackup.RemoveAll();
|
brd_stackup.RemoveAll();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue