[pdf] Fix bug #77343

This commit is contained in:
Nikita Khromov
2025-10-07 10:36:11 +07:00
committed by Ilya Kirillov
parent b605bb28d7
commit a5c43e6415

View File

@ -1459,6 +1459,10 @@ CChangesPDFDocumentEndRedact.prototype.Undo = function() {
let oRedactData = oDoc.appliedRedactsData.pop();
oFile.nativeFile["UndoRedact"]();
let oPageInfo = oDoc.GetPageInfo(this.Page);
let nOriginIndex = oPageInfo.GetOriginIndex();
oFile.pages[this.Page].text = oFile.getText(nOriginIndex);
oDoc.Viewer.onUpdatePages([oRedactData.page]);
};
CChangesPDFDocumentEndRedact.prototype.Redo = function()