mirror of
https://github.com/ankitects/anki.git
synced 2025-09-23 00:12:25 -04:00
fix getTag()
This commit is contained in:
parent
5831309280
commit
2db6bf51c2
1 changed files with 1 additions and 1 deletions
|
@ -192,7 +192,7 @@ def chooseList(prompt, choices, startrow=0, parent=None):
|
|||
def getTag(parent, deck, question, tags="user", **kwargs):
|
||||
from aqt.tagedit import TagEdit
|
||||
te = TagEdit(parent)
|
||||
te.setDeck(deck, tags)
|
||||
te.setDeck(deck)
|
||||
return getText(question, parent, edit=te, **kwargs)
|
||||
|
||||
def getFile(parent, title, dir, key):
|
||||
|
|
Loading…
Reference in a new issue