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.
This commit is contained in:
Joshua Goins
2026-01-09 18:00:19 -05:00
parent 9b7d16973d
commit 3a416990ca

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