mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00
all tags, not just user tags, in tag completer
This commit is contained in:
parent
cafd1959b4
commit
a62799613e
1 changed files with 1 additions and 4 deletions
|
@ -19,10 +19,7 @@ class TagEdit(QLineEdit):
|
|||
def setDeck(self, deck, tags="user"):
|
||||
"Set the current deck, updating list of available tags."
|
||||
self.deck = deck
|
||||
if tags == "user":
|
||||
tags = self.deck.allUserTags()
|
||||
else:
|
||||
tags = self.deck.allTags()
|
||||
tags = self.deck.allTags()
|
||||
self.model.setStringList(
|
||||
QStringList(tags))
|
||||
|
||||
|
|
Loading…
Reference in a new issue