Disable mutiple file selection for now, as it isn't uesd for anything yet

This commit is contained in:
Veronica K. B. Olsen
2019-11-02 20:24:36 +01:00
parent 8250f9c75e
commit c9f961de20
+3 -2
View File
@@ -67,8 +67,9 @@ class GuiDocTree(QTreeWidget):
trRoot.setFlags(trRoot.flags() ^ Qt.ItemIsDropEnabled)
# Set Multiple Selection by CTRL
self.setSelectionMode(QAbstractItemView.ExtendedSelection)
self.setSelectionBehavior(QAbstractItemView.SelectRows)
# Disabled for now, until the merge files option has been added
# self.setSelectionMode(QAbstractItemView.ExtendedSelection)
# self.setSelectionBehavior(QAbstractItemView.SelectRows)
for colN in range(len(self.mainConf.treeColWidth)):
self.setColumnWidth(colN,self.mainConf.treeColWidth[colN])