From 64ab025d05b79e0898025682d2ce1f831c51188b Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 17 Oct 2010 15:56:07 -0600 Subject: [PATCH] ... --- src/calibre/gui2/viewer/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/calibre/gui2/viewer/main.py b/src/calibre/gui2/viewer/main.py index f0f29a67e6..e113ef0611 100644 --- a/src/calibre/gui2/viewer/main.py +++ b/src/calibre/gui2/viewer/main.py @@ -353,6 +353,7 @@ class EbookViewer(MainWindow, Ui_EbookViewer): self.pending_bookmark = bm if spine_index < 0 or spine_index >= len(self.iterator.spine): spine_index = 0 + self.pending_bookmark = None self.load_path(self.iterator.spine[spine_index]) def toc_clicked(self, index):