More usage of the nobody color
This commit is contained in:
parent
e0de9a4f31
commit
88fdac4cd2
|
@ -3,7 +3,7 @@ from PySide import QtGui, QtCore
|
|||
import copy
|
||||
|
||||
from gamestate import QuestionAnswers
|
||||
from player import Player, ButtonEvent
|
||||
from player import Player, ButtonEvent, nobodyColor
|
||||
|
||||
class QuestionWindow(QtGui.QDialog):
|
||||
def __init__(self, players, section, qnumber, question, answers=None, parent=None):
|
||||
|
@ -247,7 +247,7 @@ class EditAnswersWindow(QtGui.QDialog):
|
|||
self._addAnswerButton(player, correct)
|
||||
|
||||
# add the nobody button
|
||||
self._addAnswerButton(Player("nobody", QtGui.QColor(128, 128, 128)), self._nobody)
|
||||
self._addAnswerButton(Player("nobody", nobodyColor), self._nobody)
|
||||
|
||||
def _addAnswerButton(self, player, correct=False):
|
||||
prefix = "+" if correct else "-"
|
||||
|
|
Loading…
Reference in New Issue