Refresh pads after enumeration in Footprint Editor.
This commit is contained in:
parent
f502c4cc77
commit
b735f57fa4
|
@ -311,7 +311,10 @@ int MODULE_TOOLS::EnumeratePads( const TOOL_EVENT& aEvent )
|
||||||
m_frame->SaveCopyInUndoList( m_board->m_Modules, UR_MODEDIT );
|
m_frame->SaveCopyInUndoList( m_board->m_Modules, UR_MODEDIT );
|
||||||
|
|
||||||
BOOST_FOREACH( D_PAD* pad, pads )
|
BOOST_FOREACH( D_PAD* pad, pads )
|
||||||
|
{
|
||||||
pad->SetPadName( wxString::Format( wxT( "%s%d" ), padPrefix.c_str(), padNumber++ ) );
|
pad->SetPadName( wxString::Format( wxT( "%s%d" ), padPrefix.c_str(), padNumber++ ) );
|
||||||
|
pad->ViewUpdate();
|
||||||
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue