From bcac768b349c7703b9b3e2abca609d1d713c1d42 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. (cherry picked from commit 3a416990ca708e487e48447c72bd947d31f78fdf) --- src/rooms/RoomTreeSection.qml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/rooms/RoomTreeSection.qml b/src/rooms/RoomTreeSection.qml index 912f05667..0b6fb2e28 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