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 58f5a4bbd3
commit bcac768b34

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