mirror of
https://github.com/ankitects/anki.git
synced 2025-11-13 08:07:11 -05:00
don't show completion dropdown on focus in
obscures buttons and gives the impression something needs to be chosen https://anki.tenderapp.com/discussions/ankidesktop/27132-anki-bug-with-tags-and-decks#comment_44820594
This commit is contained in:
parent
dc6ebca944
commit
9db9d144b9
1 changed files with 0 additions and 1 deletions
|
|
@ -33,7 +33,6 @@ class TagEdit(QLineEdit):
|
||||||
|
|
||||||
def focusInEvent(self, evt):
|
def focusInEvent(self, evt):
|
||||||
QLineEdit.focusInEvent(self, evt)
|
QLineEdit.focusInEvent(self, evt)
|
||||||
self.showCompleter()
|
|
||||||
|
|
||||||
def keyPressEvent(self, evt):
|
def keyPressEvent(self, evt):
|
||||||
if evt.key() in (Qt.Key_Up, Qt.Key_Down):
|
if evt.key() in (Qt.Key_Up, Qt.Key_Down):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue