From 5ad2c3c802ec5a7b462b7c2eb5f6f9811a64c61e Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 15 Jun 2008 23:03:07 -0700 Subject: [PATCH] Fix bug 'Cover not updating after editing metadata' --- src/calibre/gui2/library.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/calibre/gui2/library.py b/src/calibre/gui2/library.py index f60ace4c5e..5984c66dcd 100644 --- a/src/calibre/gui2/library.py +++ b/src/calibre/gui2/library.py @@ -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))