mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Clear new VL cache when changing the set of virtual libraries
This commit is contained in:
parent
b7fba0b40e
commit
b852195a2c
@ -657,7 +657,7 @@ class Cache(object):
|
||||
self.backend.prefs.set_namespaced(namespace, name, val)
|
||||
return
|
||||
self.backend.prefs.set(name, val)
|
||||
if name == 'grouped_search_terms':
|
||||
if name in ('grouped_search_terms', 'virtual_libraries'):
|
||||
self._clear_search_caches()
|
||||
if name in dynamic_category_preferences:
|
||||
self._initialize_dynamic_categories()
|
||||
|
Loading…
x
Reference in New Issue
Block a user