mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 18:24:30 -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.setChecked(True)
|
||||
|
||||
if not isinstance(self, DeviceBooksView):
|
||||
if self._model.db.field_metadata[col]['is_category']:
|
||||
act = self.column_header_context_menu.addAction(_('Quickview column %s') %
|
||||
name,
|
||||
|
Loading…
x
Reference in New Issue
Block a user