From ecc54ea2221c0c006937de5b195329b3e89596c8 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Mon, 13 Apr 2009 12:42:55 +0900 Subject: [PATCH] convert "_" to " " in tag list --- ankiqt/ui/cardlist.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ankiqt/ui/cardlist.py b/ankiqt/ui/cardlist.py index 2cfd6ce26..ffaf8af24 100644 --- a/ankiqt/ui/cardlist.py +++ b/ankiqt/ui/cardlist.py @@ -345,7 +345,8 @@ class EditDeck(QMainWindow): self.dialog.tagList.setFixedWidth(130) self.dialog.tagList.clear() self.dialog.tagList.addItems(QStringList( - [_(''), _('No tags')] + self.alltags)) + [_(''), _('No tags')] + + [x.replace("_", " ") for x in self.alltags])) self.dialog.tagList.view().setFixedWidth(200) def drawSort(self):