mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 02:34:06 -04:00
Fix regression that broke clicking on column headers in the device views
This commit is contained in:
commit
bf25208fa9
@ -304,6 +304,7 @@ class BooksView(QTableView): # {{{
|
|||||||
a.setCheckable(True)
|
a.setCheckable(True)
|
||||||
a.setChecked(True)
|
a.setChecked(True)
|
||||||
|
|
||||||
|
if not isinstance(self, DeviceBooksView):
|
||||||
if self._model.db.field_metadata[col]['is_category']:
|
if self._model.db.field_metadata[col]['is_category']:
|
||||||
act = self.column_header_context_menu.addAction(_('Quickview column %s') %
|
act = self.column_header_context_menu.addAction(_('Quickview column %s') %
|
||||||
name,
|
name,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user