Clearing selection on wheelEvent is buggy, so don't
This commit is contained in:
parent
b164e54e15
commit
acca19a1b3
@ -159,9 +159,9 @@ class ParameterTree(TreeWidget):
|
|||||||
sel[0].selected(True)
|
sel[0].selected(True)
|
||||||
return TreeWidget.selectionChanged(self, *args)
|
return TreeWidget.selectionChanged(self, *args)
|
||||||
|
|
||||||
def wheelEvent(self, ev):
|
# def wheelEvent(self, ev):
|
||||||
self.clearSelection()
|
# self.clearSelection()
|
||||||
return TreeWidget.wheelEvent(self, ev)
|
# return TreeWidget.wheelEvent(self, ev)
|
||||||
|
|
||||||
def sizeHint(self):
|
def sizeHint(self):
|
||||||
w, h = 0, 0
|
w, h = 0, 0
|
||||||
|
Loading…
Reference in New Issue
Block a user