Commit 37c3e321 authored by jean-pierre charras's avatar jean-pierre charras

Pcbnew: bug fix: some Global Design Rules not copied to the board after change.

parent ac749856
...@@ -708,12 +708,12 @@ void DIALOG_DESIGN_RULES::OnOkButtonClick( wxCommandEvent& event ) ...@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment