mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 22:23:25 +02: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
1 changed files with 1 additions and 0 deletions
|
|
@ -467,6 +467,7 @@ def commit(self):
|
|||
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…
Reference in a new issue