mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-02 21:23:12 +02:00
Ignore Ctrl+Tab in completion popup
This commit is contained in:
parent
6a2490005c
commit
5853a7f779
1 changed files with 2 additions and 2 deletions
|
|
@ -179,11 +179,11 @@ def handle_keypress(self, ev):
|
|||
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…
Reference in a new issue