mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 07:22:23 -04:00
convert "_" to " " in tag list
This commit is contained in:
parent
e0edd83619
commit
ecc54ea222
1 changed files with 2 additions and 1 deletions
|
@ -345,7 +345,8 @@ class EditDeck(QMainWindow):
|
||||||
self.dialog.tagList.setFixedWidth(130)
|
self.dialog.tagList.setFixedWidth(130)
|
||||||
self.dialog.tagList.clear()
|
self.dialog.tagList.clear()
|
||||||
self.dialog.tagList.addItems(QStringList(
|
self.dialog.tagList.addItems(QStringList(
|
||||||
[_('<Tag filter>'), _('No tags')] + self.alltags))
|
[_('<Tag filter>'), _('No tags')] +
|
||||||
|
[x.replace("_", " ") for x in self.alltags]))
|
||||||
self.dialog.tagList.view().setFixedWidth(200)
|
self.dialog.tagList.view().setFixedWidth(200)
|
||||||
|
|
||||||
def drawSort(self):
|
def drawSort(self):
|
||||||
|
|
Loading…
Reference in a new issue