ebook-viewer.exe: Fix --continue-reading not working

Fix #737 (Bugfix for EbookViewer.continue_reading)
This commit is contained in:
Kovid Goyal 2017-08-03 09:03:38 +05:30
parent 7102fcdf7c
commit 0f6d873070
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -354,6 +354,7 @@ class EbookViewer(MainWindow):
for path in recent: for path in recent:
if os.path.exists(path): if os.path.exists(path):
self.load_ebook(path) self.load_ebook(path)
break
def shutdown(self): def shutdown(self):
if self.isFullScreen() and not self.view.document.start_in_fullscreen: if self.isFullScreen() and not self.view.document.start_in_fullscreen: