mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 15:32:23 -04:00
hide the deck/tag completer on focus change
This commit is contained in:
parent
d6a949bc49
commit
ee63a02936
1 changed files with 1 additions and 0 deletions
|
@ -47,6 +47,7 @@ class TagEdit(QLineEdit):
|
||||||
def focusOutEvent(self, evt):
|
def focusOutEvent(self, evt):
|
||||||
QLineEdit.focusOutEvent(self, evt)
|
QLineEdit.focusOutEvent(self, evt)
|
||||||
self.emit(SIGNAL("lostFocus"))
|
self.emit(SIGNAL("lostFocus"))
|
||||||
|
self.completer.popup().hide()
|
||||||
|
|
||||||
def hideCompleter(self):
|
def hideCompleter(self):
|
||||||
self.completer.popup().hide()
|
self.completer.popup().hide()
|
||||||
|
|
Loading…
Reference in a new issue