Refresh pads after enumeration in Footprint Editor.

This commit is contained in:
Maciej Suminski 2016-05-04 14:06:10 +02:00
parent f502c4cc77
commit b735f57fa4
1 changed files with 3 additions and 0 deletions

View File

@ -311,7 +311,10 @@ int MODULE_TOOLS::EnumeratePads( const TOOL_EVENT& aEvent )
m_frame->SaveCopyInUndoList( m_board->m_Modules, UR_MODEDIT );
BOOST_FOREACH( D_PAD* pad, pads )
{
pad->SetPadName( wxString::Format( wxT( "%s%d" ), padPrefix.c_str(), padNumber++ ) );
pad->ViewUpdate();
}
break;
}