diff --git a/pcbnew/tools/group_tool.cpp b/pcbnew/tools/group_tool.cpp index 59410c6f8e..bcddd7d7b2 100644 --- a/pcbnew/tools/group_tool.cpp +++ b/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( item ) ); } else {