From c40c538cc1e5848a74d2a616254d7df5ad68cdf7 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 23 Sep 2020 13:25:01 +0530 Subject: [PATCH] Fix #1896362 [[Enhancement] Selecting entries holding down the Shift key](https://bugs.launchpad.net/calibre/+bug/1896362) --- src/calibre/gui2/library/annotations.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/calibre/gui2/library/annotations.py b/src/calibre/gui2/library/annotations.py index f8e5cba049..b79aec6e47 100644 --- a/src/calibre/gui2/library/annotations.py +++ b/src/calibre/gui2/library/annotations.py @@ -254,16 +254,6 @@ class ResultsList(QTreeWidget): i %= self.number_of_results self.setCurrentItem(self.item_map[i]) - def keyPressEvent(self, ev): - key = ev.key() - if key == Qt.Key_Down: - self.show_next() - return - if key == Qt.Key_Up: - self.show_next(backwards=True) - return - return QTreeWidget.keyPressEvent(self, ev) - @property def selected_annot_ids(self): for item in self.selectedItems():