This commit is contained in:
Kovid Goyal 2022-02-01 07:31:43 +05:30
parent 3f2aa59072
commit f457ee5122
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -483,7 +483,7 @@ class BooksView(QTableView): # {{{
for hcol, hidx in iteritems(hidden_cols)] for hcol, hidx in iteritems(hidden_cols)]
hcols.sort(key=lambda x: primary_sort_key(x[1])) hcols.sort(key=lambda x: primary_sort_key(x[1]))
for hcol, hname in hcols: for hcol, hname in hcols:
m.addAction(hname, partial(handler, action='show', column=hcol)) m.addAction(hname.replace('&', '&&'), partial(handler, action='show', column=hcol))
ans.addSeparator() ans.addSeparator()
if col == 'ondevice': if col == 'ondevice':
ans.addAction(_('Remember On Device column width'), ans.addAction(_('Remember On Device column width'),