mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 20:14:33 +02:00
...
This commit is contained in:
parent
d80dbdc17c
commit
021f4be836
1 changed files with 1 additions and 1 deletions
|
|
@ -309,7 +309,7 @@ def goto_bookmark(self, bm):
|
|||
m = bm[1].split('#')
|
||||
if len(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)
|
||||
else:
|
||||
self.pending_bookmark = bm
|
||||
|
|
|
|||
Loading…
Reference in a new issue