mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
make sure completer is hidden when closing add tags diag
This commit is contained in:
parent
ee63a02936
commit
9628a83fe8
1 changed files with 3 additions and 1 deletions
|
@ -208,7 +208,9 @@ def getTag(parent, deck, question, tags="user", **kwargs):
|
||||||
from aqt.tagedit import TagEdit
|
from aqt.tagedit import TagEdit
|
||||||
te = TagEdit(parent)
|
te = TagEdit(parent)
|
||||||
te.setCol(deck)
|
te.setCol(deck)
|
||||||
return getText(question, parent, edit=te, **kwargs)
|
ret = getText(question, parent, edit=te, **kwargs)
|
||||||
|
te.hideCompleter()
|
||||||
|
return ret
|
||||||
|
|
||||||
# File handling
|
# File handling
|
||||||
######################################################################
|
######################################################################
|
||||||
|
|
Loading…
Reference in a new issue