Redraw module texts on "Reset Footprint Field Sizes" (GAL).

This commit is contained in:
Maciej Suminski 2015-09-01 18:06:11 +02:00
parent 8fe18d83a0
commit 1d877f5b74
1 changed files with 9 additions and 0 deletions

View File

@ -137,6 +137,15 @@ void PCB_EDIT_FRAME::OnResetModuleTextSizes( wxCommandEvent& event )
DIALOG_GLOBAL_MODULES_FIELDS_EDITION dlg(this);
dlg.ShowModal();
if( IsGalCanvasActive() )
{
for( MODULE* module = GetBoard()->m_Modules; module; module = module->Next() )
{
module->Value().ViewUpdate();
module->Reference().ViewUpdate();
}
}
m_canvas->Refresh();
}