mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-28 04:03:11 +02: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
1 changed files with 2 additions and 1 deletions
|
|
@ -620,7 +620,8 @@ def open_ebook(self, checked):
|
|||
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…
Reference in a new issue