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

This commit is contained in:
jean-pierre charras 2011-12-08 20:55:10 +01:00
parent ac74985685
commit 37c3e32119
1 changed files with 2 additions and 2 deletions

View File

@ -708,12 +708,12 @@ void DIALOG_DESIGN_RULES::OnOkButtonClick( wxCommandEvent& event )
return;
}
m_Pcb->SetDesignSettings( m_BrdSettings );
CopyRulesListToBoard();
CopyGlobalRulesToBoard();
CopyDimensionsListsToBoard();
m_Pcb->SetDesignSettings( m_BrdSettings );
// Save the dialog's position before finishing
s_LastPos = GetPosition();
s_LastSize = GetSize();