Commit 86a6f7ff authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

правка бага 21070 - Пропадает автофигура при ее разгруппировки с другой автофигурой

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@50616 954022d7-b5bf-4e40-9824-e11837661b57
parent 650d81ee
......@@ -1949,6 +1949,11 @@ CGraphicObjects.prototype = {
}
}
if(this.State.group)
{
this.State.group.resetSelection();
}
var arr_ungrouped_objects = [];
var drawing_bases = this.slide.cSld.spTree;
for(i = 0; i < ungrouped_objects.length; ++i)
{
......@@ -1969,10 +1974,15 @@ CGraphicObjects.prototype = {
{
ungrouped_sp_tree[j].recalcAll();
this.slide.addToSpTreeToPos(start_position + j, ungrouped_sp_tree[j]);
arr_ungrouped_objects.push(ungrouped_sp_tree[j]);
}
}
this.slide.removeSelectedObjects();
this.resetSelectionState();
for(var i = 0; i< arr_ungrouped_objects.length; ++i)
{
arr_ungrouped_objects[i].select(this);
}
},
startSearchText : function(str, scanForward) //
......
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