Browse Source

Removed header string from gameboard

Sebastian Lohff 5 years ago
parent
commit
0ec7bb3a7e
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      game.py

+ 3
- 3
game.py View File

@@ -42,10 +42,10 @@ class SeopardyGame(QtGui.QWidget):
42 42
 
43 43
 		layout = QtGui.QVBoxLayout()
44 44
 		headerLayout = QtGui.QHBoxLayout()
45
-		header = QtGui.QLabel("Header")
46
-		headerLayout.addWidget(header)
45
+		self.header = QtGui.QLabel("")
46
+		headerLayout.addWidget(self.header)
47 47
 		headerLayout.setSizeConstraint(QtGui.QLayout.SetMinimumSize)
48
-		layout.addWidget(header, alignment=QtCore.Qt.AlignCenter)
48
+		layout.addWidget(self.header, alignment=QtCore.Qt.AlignCenter)
49 49
 
50 50
 		# create board
51 51
 		#board = QtGui.QGridLayout(6, len(self.questions.get_sections()))

Loading…
Cancel
Save