mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix bug 'Cover not updating after editing metadata'
This commit is contained in:
parent
a6361f395c
commit
5ad2c3c802
@ -127,6 +127,7 @@ class BooksModel(QAbstractTableModel):
|
||||
def refresh_ids(self, ids, current_row=-1):
|
||||
rows = self.db.refresh_ids(ids)
|
||||
for row in rows:
|
||||
self.buffer.pop(row, None)
|
||||
if row == current_row:
|
||||
self.emit(SIGNAL('new_bookdisplay_data(PyQt_PyObject)'),
|
||||
self.get_book_display_info(row))
|
||||
|
Loading…
x
Reference in New Issue
Block a user