mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 02:34:06 -04:00
...
This commit is contained in:
parent
72fd1567df
commit
35d0b6f173
@ -312,7 +312,7 @@ class Boss(QObject):
|
|||||||
self.gui.action_save.setEnabled(False)
|
self.gui.action_save.setEnabled(False)
|
||||||
self.update_global_history_actions()
|
self.update_global_history_actions()
|
||||||
recent_books = list(tprefs.get('recent-books', []))
|
recent_books = list(tprefs.get('recent-books', []))
|
||||||
path = container.path_to_ebook
|
path = os.path.abspath(container.path_to_ebook)
|
||||||
if path in recent_books:
|
if path in recent_books:
|
||||||
recent_books.remove(path)
|
recent_books.remove(path)
|
||||||
recent_books.insert(0, path)
|
recent_books.insert(0, path)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user