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

Bug 26834 - Лишний шаг при undo копирования shape

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@60100 954022d7-b5bf-4e40-9824-e11837661b57
parent a6c8ff21
......@@ -484,7 +484,15 @@ RotateState.prototype =
tracks[i].originalObject = copy;
tracks[i].trackEnd(false);
this.drawingObjects.selectObject(copy, 0);
ExecuteNoHistory(function(){drawingObjects.checkSelectedObjectsAndCallback(function(){}, []);}, this, []);
if(!(this.drawingObjects.drawingObjects && this.drawingObjects.drawingObjects.cSld))
{
ExecuteNoHistory(function(){drawingObjects.checkSelectedObjectsAndCallback(function(){}, []);}, this, []);
}
else
{
this.drawingObjects.startRecalculate();
this.drawingObjects.drawingObjects.sendGraphicObjectProps();
}
}
}
else
......
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