mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Merge branch 'master' of https://github.com/cbhaley/calibre
Fixes #1954562 [Strange search results after updating stored template](https://bugs.launchpad.net/calibre/+bug/1954562)
This commit is contained in:
commit
2a45519e5d
@ -467,6 +467,7 @@ class ConfigWidget(ConfigWidgetBase, Ui_Form):
|
||||
funcs = compile_user_template_functions(pref_value)
|
||||
self.db.new_api.set_user_template_functions(funcs)
|
||||
self.gui.library_view.model().refresh()
|
||||
self.gui.library_view.model().research()
|
||||
load_user_template_functions(self.db.library_id, [], funcs)
|
||||
return False
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user