Skip to content

Commit

Permalink
Fix bug #72713
Browse files Browse the repository at this point in the history
Fix a crash when reloading the document after losing connection
  • Loading branch information
KirillovIlya committed Jan 31, 2025
1 parent 62202c5 commit d1536b9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions word/Editor/Document.js
Original file line number Diff line number Diff line change
Expand Up @@ -5653,6 +5653,11 @@ CDocument.prototype.OnContentReDraw = function(StartPag
};
CDocument.prototype.CheckTargetUpdate = function()
{
// TODO: Эту загрушку стоит поменять на что-то более понятное
// Документ ни разу не был расчитан
if (this.RecalcId <= 0)
return;

// Проверим можно ли вообще пересчитывать текущее положение.
if (this.DrawingDocument.UpdateTargetFromPaint === true)
{
Expand Down

0 comments on commit d1536b9

Please sign in to comment.