mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -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'])
|
path = os.path.abspath(entry['pathtoebook'])
|
||||||
except Exception:
|
except Exception:
|
||||||
continue
|
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
|
continue
|
||||||
m.addAction('{}\t {}'.format(
|
m.addAction('{}\t {}'.format(
|
||||||
elided_text(entry['title'], pos='right', width=250),
|
elided_text(entry['title'], pos='right', width=250),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user