~ubuntu-branches/debian/sid/calibre/sid

« back to all changes in this revision

Viewing changes to src/calibre/gui2/tag_browser/model.py

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2014-05-14 18:17:50 UTC
  • mto: This revision was merged to the branch mainline in revision 75.
  • Revision ID: package-import@ubuntu.com-20140514181750-efj1wymey2vb4cao
Tags: upstream-1.36.0+dfsg
ImportĀ upstreamĀ versionĀ 1.36.0+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
876
876
                    tb_cats.add_user_category(label=u'@' + cat, name=cat)
877
877
                except ValueError:
878
878
                    traceback.print_exc()
879
 
        self.db.data.change_search_locations(self.db.field_metadata.get_search_terms())
 
879
        self.db.new_api.refresh_search_locations()
880
880
 
881
881
        if len(self.db.saved_search_names()):
882
882
            tb_cats.add_search_category(label='search', name=_('Searches'))