mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-03-04 19:15:03 +01:00
Fix regression where multiple coloring rules were used for the same column.
This commit is contained in:
parent
66238446ad
commit
bd1db5998a
1 changed files with 1 additions and 0 deletions
|
|
@ -55,6 +55,7 @@ def __init__(self, formatter):
|
|||
self.formatter = formatter
|
||||
|
||||
def __call__(self, id_, key, fmt, db, color_cache, template_cache):
|
||||
key += str(hash(fmt))
|
||||
if id_ in color_cache and key in color_cache[id_]:
|
||||
self.mi = None
|
||||
color = color_cache[id_][key]
|
||||
|
|
|
|||
Loading…
Reference in a new issue