This commit is contained in:
Kovid Goyal 2009-06-25 17:35:52 -07:00
parent d80dbdc17c
commit 021f4be836

View File

@ -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