Clearing selection on wheelEvent is buggy, so don't

This commit is contained in:
Daniel Lidstrom 2020-12-21 22:22:12 -08:00
parent b164e54e15
commit acca19a1b3

View File

@ -159,9 +159,9 @@ class ParameterTree(TreeWidget):
sel[0].selected(True)
return TreeWidget.selectionChanged(self, *args)
def wheelEvent(self, ev):
self.clearSelection()
return TreeWidget.wheelEvent(self, ev)
# def wheelEvent(self, ev):
# self.clearSelection()
# return TreeWidget.wheelEvent(self, ev)
def sizeHint(self):
w, h = 0, 0