auto-expand items while dragging

This commit is contained in:
Damien Elmes 2021-02-02 20:14:14 +10:00
parent a50601ed46
commit 4330ab58f5

View File

@ -313,6 +313,7 @@ class SidebarTreeView(QTreeView):
self.setUniformRowHeights(True)
self.setHeaderHidden(True)
self.setIndentation(15)
self.setAutoExpandDelay(600)
# this doesn't play nicely with shift+click to OR items - we may want
# to put it behind a 'multi-select' mode
# self.setSelectionMode(QAbstractItemView.SelectionMode.ExtendedSelection)