Commit 49f27578 authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

правка бага 21429 - Удаляется автофигура не в группе при разгруппировке фигур в группе

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@50787 954022d7-b5bf-4e40-9824-e11837661b57
parent 84a3ebc6
......@@ -2024,6 +2024,13 @@ CGraphicObjects.prototype = {
arr_ungrouped_objects.push(ungrouped_sp_tree[j]);
}
}
for(var i = 0; i < this.slide.cSld.spTree.length; ++i)
{
if(this.slide.cSld.spTree[i].selected && !(this.slide.cSld.spTree[i] instanceof CGroupShape))
{
this.slide.cSld.spTree[i].deselect(this);
}
}
this.slide.removeSelectedObjects();
this.resetSelectionState();
for(var i = 0; i< arr_ungrouped_objects.length; ++i)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment