mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-21 18:06:05 +01:00
Merge branch 'master' of https://github.com/cbhaley/calibre
This commit is contained in:
commit
d52a9a074d
1 changed files with 6 additions and 6 deletions
|
|
@ -760,11 +760,11 @@ def add_node_tree(tree_dict, m, path):
|
|||
partial(self.context_menu_handler, action='search',
|
||||
search_state=TAG_SEARCH_STATES['mark_minus'],
|
||||
index=index))
|
||||
search_submenu.addAction(self.search_copy_icon,
|
||||
_('Search using saved search expression'),
|
||||
partial(self.context_menu_handler, action='raw_search',
|
||||
key=tag.name))
|
||||
|
||||
if key == 'search':
|
||||
search_submenu.addAction(self.search_copy_icon,
|
||||
_('Search using saved search expression'),
|
||||
partial(self.context_menu_handler, action='raw_search',
|
||||
key=tag.name))
|
||||
self.context_menu.addSeparator()
|
||||
elif key.startswith('@') and not item.is_gst:
|
||||
if item.can_be_edited:
|
||||
|
|
@ -837,7 +837,7 @@ def add_node_tree(tree_dict, m, path):
|
|||
category=tag.name if tag else None))
|
||||
|
||||
# Hide/Show/Restore categories
|
||||
self.context_menu.addSeparator()
|
||||
self.context_menu.addSeparator()
|
||||
self.context_menu.addAction(_('Hide category %s') % category,
|
||||
partial(self.context_menu_handler, action='hide',
|
||||
category=key))
|
||||
|
|
|
|||
Loading…
Reference in a new issue