Commit 0878b13d authored by Ilya Kirillov's avatar Ilya Kirillov

Fixed bug #34044

parent 2bcb7436
...@@ -7823,7 +7823,12 @@ CDocument.prototype.EndFootnotesEditing = function() ...@@ -7823,7 +7823,12 @@ CDocument.prototype.EndFootnotesEditing = function()
if (docpostype_Footnotes === this.Get_DocPosType()) if (docpostype_Footnotes === this.Get_DocPosType())
{ {
this.Set_DocPosType(docpostype_Content); this.Set_DocPosType(docpostype_Content);
this.Cursor_MoveAt(0, 0, false);
this.Cursor_MoveToStartPos(false);
// TODO: Не всегда можно в данной функции использовать Cursor_MoveAt, потому что
// данная страница еще может быть не рассчитана.
//this.Cursor_MoveAt(0, 0, false);
this.DrawingDocument.ClearCachePages(); this.DrawingDocument.ClearCachePages();
this.DrawingDocument.FirePaint(); this.DrawingDocument.FirePaint();
......
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