all tags, not just user tags, in tag completer

This commit is contained in:
Damien Elmes 2009-02-19 15:56:07 +09:00
parent cafd1959b4
commit a62799613e

View file

@ -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))