2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-29 05:03:34 +08:00

gui: disable parameter selection

This commit is contained in:
Sebastien Bourdeauducq 2015-08-25 00:38:03 +08:00
parent 1c96f258b1
commit 718de9888b

View File

@ -38,7 +38,7 @@ class ParametersDock(dockarea.Dock):
grid.addWidget(self.search, 0, 0)
self.table = QtGui.QTableView()
self.table.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows)
self.table.setSelectionMode(QtGui.QAbstractItemView.NoSelection)
self.table.horizontalHeader().setResizeMode(
QtGui.QHeaderView.ResizeToContents)
grid.addWidget(self.table, 1, 0)