From 697137585e00ca0a70c67ee1ffdba0c7e9dd1e1e Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Thu, 8 Dec 2011 20:55:10 +0100 Subject: [PATCH] Pcbnew: bug fix: some Global Design Rules not copied to the board after change. --- pcbnew/dialogs/dialog_design_rules.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pcbnew/dialogs/dialog_design_rules.cpp b/pcbnew/dialogs/dialog_design_rules.cpp index 172b7c24fc..64ff315798 100644 --- a/pcbnew/dialogs/dialog_design_rules.cpp +++ b/pcbnew/dialogs/dialog_design_rules.cpp @@ -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();