This commit is contained in:
Kovid Goyal 2022-01-12 15:41:00 +05:30
commit 60ae49087b
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 3 additions and 2 deletions

View File

@ -1122,7 +1122,8 @@ class BooksModel(QAbstractTableModel): # {{{
disp['composite_template'] = tmpl
self.db.set_custom_column_metadata(cc['colnum'], display=disp,
update_last_modified=True)
self.refresh(reset=True)
self.refresh(reset=False)
self.research(reset=True)
return True
id = self.db.id(row)

View File

@ -877,7 +877,7 @@ class TagsView(QTreeView): # {{{
search_submenu.addAction(self.search_copy_icon,
_('The saved search expression'),
partial(self.context_menu_handler, action='raw_search',
key=tag.name))
key=tag.original_name))
self.context_menu.addSeparator()
elif key.startswith('@') and not item.is_gst:
if item.can_be_edited: