diff --git a/pcbnew/tools/edit_tool.cpp b/pcbnew/tools/edit_tool.cpp index c895cfb653..f38fa9d731 100644 --- a/pcbnew/tools/edit_tool.cpp +++ b/pcbnew/tools/edit_tool.cpp @@ -1301,7 +1301,10 @@ int EDIT_TOOL::Remove( const TOOL_EVENT& aEvent ) PCB_GROUP* parentGroup = static_cast( item )->GetParentGroup(); if( parentGroup ) + { + m_commit->Modify( parentGroup ); parentGroup->RemoveItem( static_cast( item ) ); + } switch( item->Type() ) {