Browse Source

Fix bug with adding items to group in modedit.

6.0.7
Jeff Young 5 years ago
parent
commit
6752fdd58b
  1. 3
      pcbnew/tools/group_tool.cpp

3
pcbnew/tools/group_tool.cpp

@ -355,6 +355,9 @@ int GROUP_TOOL::Group( const TOOL_EVENT& aEvent )
group = new PCB_GROUP( module );
module->Add( group );
for( EDA_ITEM* item : selection )
group->AddItem( static_cast<BOARD_ITEM*>( item ) );
}
else
{

Loading…
Cancel
Save