mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Ignore Ctrl+Tab in completion popup
This commit is contained in:
parent
6a2490005c
commit
5853a7f779
@ -179,11 +179,11 @@ class ChoosePopupWidget(QWidget):
|
||||
if key == Qt.Key_Escape:
|
||||
self.abort(), ev.accept()
|
||||
return True
|
||||
if key == Qt.Key_Tab:
|
||||
if key == Qt.Key_Tab and not ev.modifiers() & Qt.CTRL:
|
||||
self.choose_next_result(previous=ev.modifiers() & Qt.ShiftModifier)
|
||||
ev.accept()
|
||||
return True
|
||||
if key == Qt.Key_Backtab:
|
||||
if key == Qt.Key_Backtab and not ev.modifiers() & Qt.CTRL:
|
||||
self.choose_next_result(previous=ev.modifiers() & Qt.ShiftModifier)
|
||||
return True
|
||||
if key in (Qt.Key_Up, Qt.Key_Down):
|
||||
|
Loading…
x
Reference in New Issue
Block a user