gui: disable parameter selection

This commit is contained in:
Sebastien Bourdeauducq 2015-08-25 00:38:03 +08:00
parent 1c96f258b1
commit 718de9888b
1 changed files with 1 additions and 1 deletions

View File

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