[pdf] Fix bug #77903

This commit is contained in:
Nikita Khromov
2025-11-05 15:53:43 +07:00
committed by Ilya Kirillov
parent e7461db3b8
commit ef960a65e1

View File

@ -638,6 +638,10 @@
CDocument.prototype.updateCurrentPage = function(pageObject)
{
if (this.selectedPages.length == 0) {
this.keepSelectedPages = false;
}
this.selectPageRect = pageObject;
if (true !== this.keepSelectedPages && false == this.selectedPages.includes(pageObject.num))
{