mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-30 11:06:11 +01:00
Bug #1954562: Strange search results after updating stored template
This commit is contained in:
parent
1e8e109b40
commit
dd02f58568
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