From 66c7d54931b47cdb2a488b384e5142e5d1e42796 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Thu, 7 Apr 2011 20:00:56 +0900 Subject: [PATCH] add a triangle to the dropdown menu --- aqt/addcards.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/aqt/addcards.py b/aqt/addcards.py index da2e94075..39b999381 100644 --- a/aqt/addcards.py +++ b/aqt/addcards.py @@ -1,4 +1,5 @@ # Copyright: Damien Elmes +# -*- coding: utf-8 -*- # License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html from PyQt4.QtGui import * @@ -77,7 +78,7 @@ class AddCards(QDialog): self.connect(self.helpButton, SIGNAL("clicked()"), self.helpRequested) # history b = self.form.buttonBox.addButton( - _("History"), QDialogButtonBox.ActionRole) + _("History")+ u'▼', QDialogButtonBox.ActionRole) self.connect(b, SIGNAL("clicked()"), self.onHistory) b.setEnabled(False) self.historyButton = b