mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
...
This commit is contained in:
parent
16b7f100ed
commit
b3e57ddfae
@ -477,6 +477,7 @@ class Document(QGraphicsScene):
|
||||
return chapter, chapter.page(num)
|
||||
|
||||
def show_page(self, num):
|
||||
num = int(num)
|
||||
if num < 1 or num > self.num_of_pages or num == self.current_page:
|
||||
return
|
||||
odd = num%2 == 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user