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 3a416990ca)
This commit is contained in:
Joshua Goins
2026-01-09 18:00:19 -05:00
parent 23f61fff36
commit 2790d430ae

View File

@@ -46,6 +46,8 @@ QQC2.ItemDelegate {
topPadding: 0
bottomPadding: 0
text: root.collapsed ? "" : root.displayName
onClicked: root.treeView.toggleExpanded(row)
}
QQC2.ToolButton {
id: collapseButton