Merge branch 'release/4.0.1' into develop

This commit is contained in:
Sergey Luzyanin
2016-07-12 15:13:52 +03:00
2 changed files with 6 additions and 0 deletions

View File

@ -1608,6 +1608,8 @@ function DrawingObjects() {
printPagesData
}
*****************************************/
if (!worksheet || !worksheet.model)
return;
// Undo/Redo
if ( (worksheet.model.index != api.wb.model.getActive()) && !printOptions )

View File

@ -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;
}