From 3a416990ca708e487e48447c72bd947d31f78fdf Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Fri, 9 Jan 2026 18:00:19 -0500 Subject: [PATCH] Make clicking room list section headers more reliable ListSectionHeader itself is an ItemDelegate, which eats up input events. We can work around this by also listening to onClicked there too. --- src/rooms/RoomTreeSection.qml | 2 ++ 1 file changed, 2 insertions(+) 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