Commit b7fbb901 authored by Ilya Kirillov's avatar Ilya Kirillov

Fixed bug #34187. Now if selection is empty history point won't be created on Ctrl+X action.

parent 128a7eb7
...@@ -1744,7 +1744,7 @@ background-repeat: no-repeat;\ ...@@ -1744,7 +1744,7 @@ background-repeat: no-repeat;\
return; return;
var _logicDoc = this.WordControl.m_oLogicDocument; var _logicDoc = this.WordControl.m_oLogicDocument;
if (!_logicDoc) if (!_logicDoc || _logicDoc.Selection_IsEmpty(true))
return; return;
if (false === _logicDoc.Document_Is_SelectionLocked(changestype_Paragraph_Content)) if (false === _logicDoc.Document_Is_SelectionLocked(changestype_Paragraph_Content))
......
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