Reenabled pad number increment on placement (module editor)

This commit is contained in:
Maciej Suminski 2017-06-23 15:19:04 +02:00
parent 7330a85554
commit 79b2d60666
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ int MODULE_EDITOR_TOOLS::PlacePad( const TOOL_EVENT& aEvent )
{
D_PAD* pad = new D_PAD ( m_board->m_Modules );
m_frame->Import_Pad_Settings( pad, false ); // use the global settings for pad
// pad->IncrementPadName( true, true );
pad->IncrementPadName( true, true );
return std::unique_ptr<BOARD_ITEM>( pad );
}
};