Fixed bug: module editor doesn't respect global "per module" solder mask clearance (GAL).
This commit is contained in:
parent
0ec256ccb4
commit
2f7b9bcd71
|
@ -580,10 +580,11 @@ void FOOTPRINT_EDIT_FRAME::Process_Special_Functions( wxCommandEvent& event )
|
||||||
{
|
{
|
||||||
SetCurItem( GetBoard()->m_Modules );
|
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();
|
int ret = dialog.ShowModal();
|
||||||
GetScreen()->GetCurItem()->ClearFlags();
|
GetScreen()->GetCurItem()->ClearFlags();
|
||||||
|
GetBoard()->m_Modules.GetFirst()->ViewUpdate();
|
||||||
|
|
||||||
if( ret > 0 )
|
if( ret > 0 )
|
||||||
m_canvas->Refresh();
|
m_canvas->Refresh();
|
||||||
|
|
Loading…
Reference in New Issue