mirror of https://github.com/m-labs/artiq.git
gui/datasets: rm unused imports/style
This commit is contained in:
parent
fc524961b2
commit
1814f12152
|
@ -1,6 +1,4 @@
|
|||
import asyncio
|
||||
from collections import OrderedDict
|
||||
from functools import partial
|
||||
import logging
|
||||
|
||||
from PyQt5 import QtCore, QtWidgets
|
||||
|
@ -46,7 +44,8 @@ class DatasetsDock(QtWidgets.QDockWidget):
|
|||
|
||||
self.table = QtWidgets.QTreeView()
|
||||
self.table.setSelectionBehavior(QtWidgets.QAbstractItemView.SelectRows)
|
||||
self.table.setSelectionMode(QtWidgets.QAbstractItemView.SingleSelection)
|
||||
self.table.setSelectionMode(
|
||||
QtWidgets.QAbstractItemView.SingleSelection)
|
||||
grid.addWidget(self.table, 1, 0)
|
||||
|
||||
self.table.setContextMenuPolicy(QtCore.Qt.ActionsContextMenu)
|
||||
|
|
Loading…
Reference in New Issue