mirror of
https://github.com/ankitects/anki.git
synced 2025-09-23 16:26:40 -04:00
don't use background colour in display properties
This commit is contained in:
parent
d7ae8a1e98
commit
cea6770da5
1 changed files with 0 additions and 5 deletions
|
@ -90,11 +90,6 @@ class DisplayProperties(QDialog):
|
||||||
self.connect(self.cwidget("Align", type),
|
self.connect(self.cwidget("Align", type),
|
||||||
SIGNAL("activated(int)"),
|
SIGNAL("activated(int)"),
|
||||||
self.saveCard)
|
self.saveCard)
|
||||||
# set the background colour to the current system-wide background colour
|
|
||||||
p = QPalette()
|
|
||||||
p.setColor(QPalette.Base, QColor(self.main.config['backgroundColour']))
|
|
||||||
self.dialog.question.setPalette(p)
|
|
||||||
self.dialog.answer.setPalette(p)
|
|
||||||
self.drawCards()
|
self.drawCards()
|
||||||
|
|
||||||
def drawCards(self):
|
def drawCards(self):
|
||||||
|
|
Loading…
Reference in a new issue