mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
don't add separator if no tags available
This commit is contained in:
parent
a36738c8ce
commit
41b98051b8
1 changed files with 3 additions and 2 deletions
|
@ -395,6 +395,7 @@ class EditDeck(QMainWindow):
|
|||
for t in sortedtags:
|
||||
self.dialog.tagList.addItem(icon, t.replace("_", " "))
|
||||
alltags.append(None)
|
||||
if sortedtags:
|
||||
self.dialog.tagList.insertSeparator(
|
||||
self.dialog.tagList.count())
|
||||
# fact tags
|
||||
|
|
Loading…
Reference in a new issue