mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 02:34:06 -04:00
Fix #1820548 [Backups backtrace](https://bugs.launchpad.net/calibre/+bug/1820548)
This commit is contained in:
parent
651344027c
commit
14e4682f29
@ -195,6 +195,8 @@ class BackupStatus(QDialog): # {{{
|
|||||||
|
|
||||||
def mark_all_dirty(self):
|
def mark_all_dirty(self):
|
||||||
db = self.db()
|
db = self.db()
|
||||||
|
if db is None:
|
||||||
|
return
|
||||||
db.new_api.mark_as_dirty(db.new_api.all_book_ids())
|
db.new_api.mark_as_dirty(db.new_api.all_book_ids())
|
||||||
|
|
||||||
# }}}
|
# }}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user