This commit is contained in:
Kovid Goyal 2020-12-18 17:44:49 +05:30
parent 7c5f4bd48b
commit cd6d5156e0
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -353,7 +353,7 @@ class History(collections.deque):
class Document(QGraphicsScene): class Document(QGraphicsScene):
num_of_pages = property(fget=lambda self: sum(self.chapter_layout)) num_of_pages = property(fget=lambda self: sum(self.chapter_layout or ()))
chapter_rendered = pyqtSignal(object) chapter_rendered = pyqtSignal(object)
page_changed = pyqtSignal(object) page_changed = pyqtSignal(object)