mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-02-25 22:14:34 +01:00
Force refresh of cached composite column values when values in the cache are changed
This commit is contained in:
parent
d1f4ba8c44
commit
e456dd9e78
1 changed files with 3 additions and 2 deletions
|
|
@ -913,8 +913,9 @@ def remove(self, id):
|
|||
|
||||
def set(self, row, col, val, row_is_id=False):
|
||||
id = row if row_is_id else self._map_filtered[row]
|
||||
self._data[id][col] = val
|
||||
self._data[id].refresh_composites()
|
||||
d = self._data[id]
|
||||
d[col] = val
|
||||
d.refresh_composites()
|
||||
|
||||
def get(self, row, col, row_is_id=False):
|
||||
id = row if row_is_id else self._map_filtered[row]
|
||||
|
|
|
|||
Loading…
Reference in a new issue