Commit eca285ce authored by Sergey Luzyanin's avatar Sergey Luzyanin

fix Bug 34462

parent ae9e2559
...@@ -938,7 +938,7 @@ DrawingObjectsController.prototype = ...@@ -938,7 +938,7 @@ DrawingObjectsController.prototype =
handleDblClickEmptyShape: function(oShape){ handleDblClickEmptyShape: function(oShape){
this.checkSelectedObjectsAndCallback(function () { this.checkSelectedObjectsAndCallback(function () {
if(!oShape.getDocContent() && !CheckLinePresetForParagraphAdd(oShape)){ if(!oShape.getDocContent() && !CheckLinePresetForParagraphAdd(oShape.getPresetGeom())){
if(!oShape.bWordShape){ if(!oShape.bWordShape){
oShape.createTextBody(); oShape.createTextBody();
} }
......
...@@ -2349,7 +2349,7 @@ CGraphicObjects.prototype = ...@@ -2349,7 +2349,7 @@ CGraphicObjects.prototype =
}, },
handleDblClickEmptyShape: function(oShape){ handleDblClickEmptyShape: function(oShape){
if(!oShape.getDocContent() && !AscFormat.CheckLinePresetForParagraphAdd(oShape)){ if(!oShape.getDocContent() && !AscFormat.CheckLinePresetForParagraphAdd(oShape.getPresetGeom())){
if(false === this.document.Document_Is_SelectionLocked(changestype_Drawing_Props)) if(false === this.document.Document_Is_SelectionLocked(changestype_Drawing_Props))
{ {
......
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