mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-04-14 05:01:58 -04:00
E-book viewer: Fix a regression that broke the "Clear recently read books" action in the viewer
This commit is contained in:
parent
e494a603d6
commit
6f2392eb77
@ -620,7 +620,8 @@ class EbookViewer(MainWindow):
|
||||
self.load_ebook(files[0])
|
||||
|
||||
def open_recent(self, action):
|
||||
self.load_ebook(action.path)
|
||||
if hasattr(action, 'path'):
|
||||
self.load_ebook(action.path)
|
||||
|
||||
def font_size_larger(self):
|
||||
self.view.magnify_fonts()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user