mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
Merge branch 'viewer-open-recent' of https://github.com/eli-schwartz/calibre
This commit is contained in:
commit
b45163f59e
@ -250,7 +250,7 @@ class ActionsToolBar(ToolBar):
|
||||
path = os.path.abspath(entry['pathtoebook'])
|
||||
except Exception:
|
||||
continue
|
||||
if path == os.path.abspath(set_book_path.pathtoebook):
|
||||
if hasattr(set_book_path, 'pathtoebook') and path == os.path.abspath(set_book_path.pathtoebook):
|
||||
continue
|
||||
m.addAction('{}\t {}'.format(
|
||||
elided_text(entry['title'], pos='right', width=250),
|
||||
|
Loading…
x
Reference in New Issue
Block a user