Redraw module texts on "Reset Footprint Field Sizes" (GAL).
This commit is contained in:
parent
8fe18d83a0
commit
1d877f5b74
|
@ -137,6 +137,15 @@ void PCB_EDIT_FRAME::OnResetModuleTextSizes( wxCommandEvent& event )
|
||||||
DIALOG_GLOBAL_MODULES_FIELDS_EDITION dlg(this);
|
DIALOG_GLOBAL_MODULES_FIELDS_EDITION dlg(this);
|
||||||
dlg.ShowModal();
|
dlg.ShowModal();
|
||||||
|
|
||||||
|
if( IsGalCanvasActive() )
|
||||||
|
{
|
||||||
|
for( MODULE* module = GetBoard()->m_Modules; module; module = module->Next() )
|
||||||
|
{
|
||||||
|
module->Value().ViewUpdate();
|
||||||
|
module->Reference().ViewUpdate();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
m_canvas->Refresh();
|
m_canvas->Refresh();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue