diff --git a/src/rooms/RoomTreeSection.qml b/src/rooms/RoomTreeSection.qml index 43b381a0e..79c850a84 100644 --- a/src/rooms/RoomTreeSection.qml +++ b/src/rooms/RoomTreeSection.qml @@ -46,6 +46,8 @@ QQC2.ItemDelegate { topPadding: 0 bottomPadding: 0 text: root.collapsed ? "" : root.displayName + + onClicked: root.treeView.toggleExpanded(row) } QQC2.ToolButton { id: collapseButton