Fix bug 'Cover not updating after editing metadata'

This commit is contained in:
Kovid Goyal 2008-06-15 23:03:07 -07:00
parent a6361f395c
commit 5ad2c3c802

View File

@ -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))