mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 07:22:23 -04:00
sort initial add too, as it's not the same as db order
This commit is contained in:
parent
4b1a102f3d
commit
5b14d882e7
1 changed files with 1 additions and 0 deletions
|
@ -20,6 +20,7 @@ class TagEdit(QLineEdit):
|
|||
"Set the current deck, updating list of available tags."
|
||||
self.deck = deck
|
||||
tags = self.deck.allTags()
|
||||
tags.sort(key=lambda x: x.lower())
|
||||
self.model.setStringList(
|
||||
QStringList(tags))
|
||||
|
||||
|
|
Loading…
Reference in a new issue