Commit 5c01125e authored by GoshaZotov's avatar GoshaZotov

fix bug 33028

parent 9cca4eb0
...@@ -1287,9 +1287,10 @@ ...@@ -1287,9 +1287,10 @@
drawingObject.graphicObject.setWordFlag(false, newCDocument); drawingObject.graphicObject.setWordFlag(false, newCDocument);
var oTempDrawingDocument = ws.model.DrawingDocument; var oTempDrawingDocument = ws.model.DrawingDocument;
var oldLogicDocument = oTempDrawingDocument.m_oLogicDocument;
oTempDrawingDocument.m_oLogicDocument = newCDocument; oTempDrawingDocument.m_oLogicDocument = newCDocument;
drawingObject.graphicObject.graphicObject.Set_Parent(newCDocument); drawingObject.graphicObject.graphicObject.Set_Parent(newCDocument);
oTempDrawingDocument.m_oLogicDocument = oldLogicDocument;
History.TurnOn(); History.TurnOn();
......
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