mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 15:02:21 -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"):
|
def setDeck(self, deck, tags="user"):
|
||||||
"Set the current deck, updating list of available tags."
|
"Set the current deck, updating list of available tags."
|
||||||
self.deck = deck
|
self.deck = deck
|
||||||
if tags == "user":
|
tags = self.deck.allTags()
|
||||||
tags = self.deck.allUserTags()
|
|
||||||
else:
|
|
||||||
tags = self.deck.allTags()
|
|
||||||
self.model.setStringList(
|
self.model.setStringList(
|
||||||
QStringList(tags))
|
QStringList(tags))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue