Example #1
0
 def add_saved_search(self):
     from calibre.gui2.dialogs.saved_search_editor import AddSavedSearch
     d = AddSavedSearch(parent=self, search=self.search.current_text)
     if d.exec_() == d.Accepted:
         self.current_db.new_api.ensure_has_search_category(
             fail_on_existing=False)
         self.do_rebuild_saved_searches()
Example #2
0
 def add_saved_search(self):
     from calibre.gui2.dialogs.saved_search_editor import AddSavedSearch
     d = AddSavedSearch(parent=self, search=self.search.current_text)
     if d.exec_() == d.Accepted:
         self.do_rebuild_saved_searches()
Example #3
0
 def add_saved_search(self):
     from calibre.gui2.dialogs.saved_search_editor import AddSavedSearch
     d = AddSavedSearch(parent=self, search=self.search.current_text)
     if d.exec_() == d.Accepted:
         self.do_rebuild_saved_searches()
Example #4
0
 def add_saved_search(self):
     from calibre.gui2.dialogs.saved_search_editor import AddSavedSearch
     d = AddSavedSearch(parent=self, search=self.search.current_text)
     if d.exec_() == d.Accepted:
         self.current_db.new_api.ensure_has_search_category(fail_on_existing=False)
         self.do_rebuild_saved_searches()