Commit eca285ce authored by Sergey Luzyanin's avatar Sergey Luzyanin

fix Bug 34462

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