Commit 0a3b4fad authored by Ilya Kirillov's avatar Ilya Kirillov

Fixed bug #34258

parent ff1b87d6
......@@ -12240,7 +12240,7 @@ CDocument.prototype.controller_Remove = function(Count, bOnlyText, bRemoveOnlySe
}
else
{
if (true === this.Content[this.CurPos.ContentPos - 1].IsEmpty())
if (true === this.Content[this.CurPos.ContentPos - 1].IsEmpty() && undefined === this.Content[this.CurPos.ContentPos - 1].Numbering_Get())
{
// Просто удаляем предыдущий параграф
this.Internal_Content_Remove(this.CurPos.ContentPos - 1, 1);
......
......@@ -3146,7 +3146,7 @@ CDocumentContent.prototype.Remove = function(Count,
}
else
{
if (true === this.Content[this.CurPos.ContentPos - 1].IsEmpty())
if (true === this.Content[this.CurPos.ContentPos - 1].IsEmpty() && undefined === this.Content[this.CurPos.ContentPos - 1].Numbering_Get())
{
// Просто удаляем предыдущий параграф
this.Internal_Content_Remove(this.CurPos.ContentPos - 1, 1);
......
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