diff --git a/pcbnew/tools/group_tool.cpp b/pcbnew/tools/group_tool.cpp index 046cfadfbf..4c9b038f13 100644 --- a/pcbnew/tools/group_tool.cpp +++ b/pcbnew/tools/group_tool.cpp @@ -327,6 +327,8 @@ int GROUP_TOOL::Ungroup( const TOOL_EVENT& aEvent ) else board->Remove( group ); + canvas()->GetView()->Remove( group ); + undoList.PushItem( ITEM_PICKER( nullptr, group, UNDO_REDO::DELETED ) ); m_frame->SaveCopyInUndoList( undoList, UNDO_REDO::UNGROUP ); group->SetSelected();