We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21e8596 commit e20b260Copy full SHA for e20b260
artiq/gui/results.py
@@ -41,7 +41,7 @@ def __init__(self):
41
self.addWidget(grid)
42
43
self.table = QtGui.QTableView()
44
- self.table.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows)
+ self.table.setSelectionMode(QtGui.QAbstractItemView.NoSelection)
45
grid.addWidget(self.table, 0, 0)
46
47
add_display_box = QtGui.QGroupBox("Add display")
artiq/gui/schedule.py
@@ -56,6 +56,7 @@ def __init__(self, schedule_ctl):
56
57
58
self.table.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows)
59
+ self.table.setSelectionMode(QtGui.QAbstractItemView.SingleSelection)
60
self.addWidget(self.table)
61
62
self.table.setContextMenuPolicy(QtCore.Qt.ActionsContextMenu)
0 commit comments