From 2f7b9bcd71892a10104b48cc05976ca77204e32e Mon Sep 17 00:00:00 2001 From: Maciej Suminski Date: Mon, 21 Jul 2014 13:17:11 +0200 Subject: [PATCH] Fixed bug: module editor doesn't respect global "per module" solder mask clearance (GAL). --- pcbnew/modedit.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pcbnew/modedit.cpp b/pcbnew/modedit.cpp index ff22550845..00dbc83123 100644 --- a/pcbnew/modedit.cpp +++ b/pcbnew/modedit.cpp @@ -580,10 +580,11 @@ void FOOTPRINT_EDIT_FRAME::Process_Special_Functions( wxCommandEvent& event ) { SetCurItem( GetBoard()->m_Modules ); - DIALOG_MODULE_MODULE_EDITOR dialog( this, (MODULE*) GetScreen()-> GetCurItem() ); + DIALOG_MODULE_MODULE_EDITOR dialog( this, (MODULE*) GetScreen()->GetCurItem() ); int ret = dialog.ShowModal(); GetScreen()->GetCurItem()->ClearFlags(); + GetBoard()->m_Modules.GetFirst()->ViewUpdate(); if( ret > 0 ) m_canvas->Refresh();