Commit 3e92c09c authored by Sergey Luzyanin's avatar Sergey Luzyanin

fix Bug 32804

parent 63f9b883
...@@ -181,6 +181,7 @@ CGraphicFrame.prototype.setGraphicObject= function(graphicObject) ...@@ -181,6 +181,7 @@ CGraphicFrame.prototype.setGraphicObject= function(graphicObject)
if(this.graphicObject) if(this.graphicObject)
{ {
this.graphicObject.Index = 0; this.graphicObject.Index = 0;
this.graphicObject.Parent = this;
} }
}; };
...@@ -1093,6 +1094,7 @@ CGraphicFrame.prototype.Undo = function(data) ...@@ -1093,6 +1094,7 @@ CGraphicFrame.prototype.Undo = function(data)
if(this.graphicObject) if(this.graphicObject)
{ {
this.graphicObject.Index = 0; this.graphicObject.Index = 0;
this.graphicObject.Parent = this;
} }
break; break;
} }
...@@ -1139,6 +1141,7 @@ CGraphicFrame.prototype.Redo = function(data) ...@@ -1139,6 +1141,7 @@ CGraphicFrame.prototype.Redo = function(data)
if(this.graphicObject) if(this.graphicObject)
{ {
this.graphicObject.Index = 0; this.graphicObject.Index = 0;
this.graphicObject.Parent = this;
} }
break; break;
} }
...@@ -1213,6 +1216,7 @@ CGraphicFrame.prototype.Load_Changes = function(r) ...@@ -1213,6 +1216,7 @@ CGraphicFrame.prototype.Load_Changes = function(r)
if(this.graphicObject) if(this.graphicObject)
{ {
this.graphicObject.Index = 0; this.graphicObject.Index = 0;
this.graphicObject.Parent = this;
} }
break; 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