gui/datasets: rm unused imports/style

This commit is contained in:
Robert Jördens 2016-04-05 18:15:09 +08:00
parent fc524961b2
commit 1814f12152
1 changed files with 5 additions and 6 deletions

View File

@ -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)