mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-06-13 16:34:34 +12:00
Fixes a bug: click in treeview background does not deselect any more
This commit is contained in:
parent
f999d6b33d
commit
b97cbdc1c3
|
@ -97,3 +97,7 @@ class treeView(QTreeView, dndView, outlineBasics):
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
QTreeView.mousePressEvent(self, event)
|
QTreeView.mousePressEvent(self, event)
|
||||||
|
|
||||||
|
def mouseReleaseEvent(self, event):
|
||||||
|
QTreeView.mouseReleaseEvent(self, event)
|
||||||
|
outlineBasics.mouseReleaseEvent(self, event)
|
||||||
|
|
Loading…
Reference in a new issue