mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
d80dbdc17c
commit
021f4be836
@ -309,7 +309,7 @@ class EbookViewer(MainWindow, Ui_EbookViewer):
|
|||||||
m = bm[1].split('#')
|
m = bm[1].split('#')
|
||||||
if len(m) > 1:
|
if len(m) > 1:
|
||||||
spine_index, m = int(m[0]), m[1]
|
spine_index, m = int(m[0]), m[1]
|
||||||
if self.current_index == spine_index:
|
if spine_index > -1 and self.current_index == spine_index:
|
||||||
self.view.goto_bookmark(m)
|
self.view.goto_bookmark(m)
|
||||||
else:
|
else:
|
||||||
self.pending_bookmark = bm
|
self.pending_bookmark = bm
|
||||||
|
Loading…
x
Reference in New Issue
Block a user