Commit 8c3bb72f authored by Sergey Luzyanin's avatar Sergey Luzyanin

Is_SelectionUse

parent b3a5ccf1
......@@ -1198,7 +1198,15 @@ DrawingObjectsController.prototype =
Is_SelectionUse: function(){
return this.selectedObjects.length > 0;
var content = this.getTargetDocContent();
if(content)
{
return content.Is_TextSelectionUse();
}
else
{
return this.selectedObjects.length > 0;
}
},
getFromTargetTextObjectContextMenuPosition: function(oTargetTextObject, pageIndex)
......
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