From 3ac7d9552af37f8bc8b8fdb2c49d428ee36101a1 Mon Sep 17 00:00:00 2001 From: Charles Haley <> Date: Tue, 5 Oct 2010 17:28:00 +0100 Subject: [PATCH] Make editing standard columns on GUI refresh the ID so composites are refreshed. --- src/calibre/gui2/library/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/gui2/library/models.py b/src/calibre/gui2/library/models.py index 4033d3c98d..0b3786d2fe 100644 --- a/src/calibre/gui2/library/models.py +++ b/src/calibre/gui2/library/models.py @@ -799,7 +799,7 @@ class BooksModel(QAbstractTableModel): # {{{ self.db.set_pubdate(id, qt_to_dt(val, as_utc=False)) else: self.db.set(row, column, val) - self.refresh_rows([row], row) + self.refresh_ids([id], row) self.dataChanged.emit(index, index) return True