mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #1959631 [Ampersand rendering bug](https://bugs.launchpad.net/calibre/+bug/1959631)
This commit is contained in:
parent
3f2aa59072
commit
f457ee5122
@ -483,7 +483,7 @@ class BooksView(QTableView): # {{{
|
||||
for hcol, hidx in iteritems(hidden_cols)]
|
||||
hcols.sort(key=lambda x: primary_sort_key(x[1]))
|
||||
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()
|
||||
if col == 'ondevice':
|
||||
ans.addAction(_('Remember On Device column width'),
|
||||
|
Loading…
x
Reference in New Issue
Block a user