mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
revert output of '_mouse_press'
This commit is contained in:
parent
8b17cf5485
commit
168f8cdcc2
1 changed files with 1 additions and 3 deletions
|
|
@ -393,7 +393,7 @@ class InstanceTreeView(QtWidgets.QTreeView):
|
|||
"double click" as 2x "single click".
|
||||
"""
|
||||
if event.button() != QtCore.Qt.LeftButton:
|
||||
return False
|
||||
return
|
||||
|
||||
pressed_group_index = None
|
||||
pos_index = self.indexAt(event.pos())
|
||||
|
|
@ -402,8 +402,6 @@ class InstanceTreeView(QtWidgets.QTreeView):
|
|||
|
||||
self._pressed_group_index = pressed_group_index
|
||||
|
||||
return True
|
||||
|
||||
def mousePressEvent(self, event):
|
||||
self._mouse_press(event)
|
||||
super(InstanceTreeView, self).mousePressEvent(event)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue