mirror of
https://github.com/ankitects/anki.git
synced 2025-11-09 06:07:11 -05:00
add a triangle to the dropdown menu
This commit is contained in:
parent
82ad8d88f8
commit
66c7d54931
1 changed files with 2 additions and 1 deletions
|
|
@ -1,4 +1,5 @@
|
||||||
# Copyright: Damien Elmes <anki@ichi2.net>
|
# Copyright: Damien Elmes <anki@ichi2.net>
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
# License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
# License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
|
|
||||||
from PyQt4.QtGui import *
|
from PyQt4.QtGui import *
|
||||||
|
|
@ -77,7 +78,7 @@ class AddCards(QDialog):
|
||||||
self.connect(self.helpButton, SIGNAL("clicked()"), self.helpRequested)
|
self.connect(self.helpButton, SIGNAL("clicked()"), self.helpRequested)
|
||||||
# history
|
# history
|
||||||
b = self.form.buttonBox.addButton(
|
b = self.form.buttonBox.addButton(
|
||||||
_("History"), QDialogButtonBox.ActionRole)
|
_("History")+ u'▼', QDialogButtonBox.ActionRole)
|
||||||
self.connect(b, SIGNAL("clicked()"), self.onHistory)
|
self.connect(b, SIGNAL("clicked()"), self.onHistory)
|
||||||
b.setEnabled(False)
|
b.setEnabled(False)
|
||||||
self.historyButton = b
|
self.historyButton = b
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue