Commit 31d5ca88 authored by Tom Pillot's avatar Tom Pillot
Browse files

Fix edit and remove in the team chooser window

parent 3a94d6a2
......@@ -21,10 +21,9 @@ class TeamWindowUi(qtw.QMainWindow):
self.table_view = qtw.QTableView()
# Prevent user from selecting and modifying the cells
# Prevent user from modifying the cells
self.table_view.setEditTriggers(qtw.QAbstractItemView.NoEditTriggers)
self.table_view.setFocusPolicy(qtc.Qt.NoFocus)
self.table_view.setSelectionMode(qtw.QAbstractItemView.NoSelection)
self.table_view.horizontalHeader().setSectionResizeMode(qtw.QHeaderView.Stretch)
self.table_view.verticalHeader().setVisible(False)
......@@ -90,7 +89,6 @@ class TeamWindowUi(qtw.QMainWindow):
vlayout2.addWidget(self.time_edit)
vlayout2.addItem(vertical_spacer)
vlayout2.addWidget(self.start_button)
# vlayout2.addStretch()
hlayout5 = qtw.QHBoxLayout()
hlayout5.addLayout(vlayout1)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment