mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 10:44:09 -04:00
Bug #1954562: Strange search results after updating stored template
This commit is contained in:
parent
1e8e109b40
commit
dd02f58568
@ -467,6 +467,7 @@ class ConfigWidget(ConfigWidgetBase, Ui_Form):
|
|||||||
funcs = compile_user_template_functions(pref_value)
|
funcs = compile_user_template_functions(pref_value)
|
||||||
self.db.new_api.set_user_template_functions(funcs)
|
self.db.new_api.set_user_template_functions(funcs)
|
||||||
self.gui.library_view.model().refresh()
|
self.gui.library_view.model().refresh()
|
||||||
|
self.gui.library_view.model().research()
|
||||||
load_user_template_functions(self.db.library_id, [], funcs)
|
load_user_template_functions(self.db.library_id, [], funcs)
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user