Commit a3393f0f authored by Sergey Luzyanin's avatar Sergey Luzyanin

Merge branch 'release/4.0.1' into develop

parents c5f45b26 3e92c09c
......@@ -1608,6 +1608,8 @@ function DrawingObjects() {
printPagesData
}
*****************************************/
if (!worksheet || !worksheet.model)
return;
// Undo/Redo
if ( (worksheet.model.index != api.wb.model.getActive()) && !printOptions )
......
......@@ -181,6 +181,7 @@ CGraphicFrame.prototype.setGraphicObject= function(graphicObject)
if(this.graphicObject)
{
this.graphicObject.Index = 0;
this.graphicObject.Parent = this;
}
};
......@@ -1093,6 +1094,7 @@ CGraphicFrame.prototype.Undo = function(data)
if(this.graphicObject)
{
this.graphicObject.Index = 0;
this.graphicObject.Parent = this;
}
break;
}
......@@ -1139,6 +1141,7 @@ CGraphicFrame.prototype.Redo = function(data)
if(this.graphicObject)
{
this.graphicObject.Index = 0;
this.graphicObject.Parent = this;
}
break;
}
......@@ -1213,6 +1216,7 @@ CGraphicFrame.prototype.Load_Changes = function(r)
if(this.graphicObject)
{
this.graphicObject.Index = 0;
this.graphicObject.Parent = this;
}
break;
}
......
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