Pcbnew: bug fix: some Global Design Rules not copied to the board after change.
This commit is contained in:
parent
ac74985685
commit
37c3e32119
|
@ -708,12 +708,12 @@ void DIALOG_DESIGN_RULES::OnOkButtonClick( wxCommandEvent& event )
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
m_Pcb->SetDesignSettings( m_BrdSettings );
|
|
||||||
|
|
||||||
CopyRulesListToBoard();
|
CopyRulesListToBoard();
|
||||||
CopyGlobalRulesToBoard();
|
CopyGlobalRulesToBoard();
|
||||||
CopyDimensionsListsToBoard();
|
CopyDimensionsListsToBoard();
|
||||||
|
|
||||||
|
m_Pcb->SetDesignSettings( m_BrdSettings );
|
||||||
|
|
||||||
// Save the dialog's position before finishing
|
// Save the dialog's position before finishing
|
||||||
s_LastPos = GetPosition();
|
s_LastPos = GetPosition();
|
||||||
s_LastSize = GetSize();
|
s_LastSize = GetSize();
|
||||||
|
|
Loading…
Reference in New Issue