mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-05-17 11:22:28 +12:00
Fixed issue #937
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
This commit is contained in:
parent
64b27bc7a1
commit
a63da8d0a8
|
@ -197,6 +197,8 @@ class characterTreeView(QTreeWidget):
|
|||
|
||||
def mouseDoubleClickEvent(self, event):
|
||||
item = self.currentItem()
|
||||
if item is None:
|
||||
return
|
||||
# Catching double clicks to forbid collapsing of toplevel items
|
||||
if item.parent():
|
||||
QTreeWidget.mouseDoubleClickEvent(self, event)
|
||||
|
|
Loading…
Reference in a new issue