Commit 457f91a5 authored by Sergey Luzyanin's avatar Sergey Luzyanin

for bug 16104

parent 20bce782
...@@ -8237,7 +8237,7 @@ DrawingObjectsController.prototype = ...@@ -8237,7 +8237,7 @@ DrawingObjectsController.prototype =
{ {
this.selection.groupSelection.bringToFront(); this.selection.groupSelection.bringToFront();
} }
this.drawingObjects.showDrawingObjects(true);
}, },
bringForward : function() bringForward : function()
...@@ -8284,7 +8284,7 @@ DrawingObjectsController.prototype = ...@@ -8284,7 +8284,7 @@ DrawingObjectsController.prototype =
{ {
this.selection.groupSelection.sendToBack(); this.selection.groupSelection.sendToBack();
} }
this.drawingObjects.showDrawingObjects(true);
}, },
...@@ -8307,6 +8307,7 @@ DrawingObjectsController.prototype = ...@@ -8307,6 +8307,7 @@ DrawingObjectsController.prototype =
{ {
this.selection.groupSelection.bringBackward(); this.selection.groupSelection.bringBackward();
} }
this.drawingObjects.showDrawingObjects(true);
} }
}; };
......
...@@ -742,6 +742,8 @@ CGraphicObjects.prototype = ...@@ -742,6 +742,8 @@ CGraphicObjects.prototype =
{ {
History.Create_NewPoint(AscDFH.historydescription_Document_GrObjectsBringForwardGroup); History.Create_NewPoint(AscDFH.historydescription_Document_GrObjectsBringForwardGroup);
this.selection.groupSelection.bringForward(); this.selection.groupSelection.bringForward();
this.document.Recalculate();
this.document.Document_UpdateUndoRedoState();
} }
} }
else else
...@@ -797,6 +799,8 @@ CGraphicObjects.prototype = ...@@ -797,6 +799,8 @@ CGraphicObjects.prototype =
{ {
History.Create_NewPoint(AscDFH.historydescription_Document_GrObjectsSendToBackGroup); History.Create_NewPoint(AscDFH.historydescription_Document_GrObjectsSendToBackGroup);
this.selection.groupSelection.sendToBack(); this.selection.groupSelection.sendToBack();
this.document.Recalculate();
this.document.Document_UpdateUndoRedoState();
} }
} }
else else
...@@ -831,6 +835,8 @@ CGraphicObjects.prototype = ...@@ -831,6 +835,8 @@ CGraphicObjects.prototype =
{ {
History.Create_NewPoint(AscDFH.historydescription_Document_GrObjectsBringBackwardGroup); History.Create_NewPoint(AscDFH.historydescription_Document_GrObjectsBringBackwardGroup);
this.selection.groupSelection.bringBackward(); this.selection.groupSelection.bringBackward();
this.document.Recalculate();
this.document.Document_UpdateUndoRedoState();
} }
} }
else 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