Fix bug with room list header

This commit is contained in:
Carl Schwan
2021-06-22 10:14:35 +02:00
parent 211f6004eb
commit f2215f10e2

View File

@@ -142,6 +142,7 @@ Kirigami.ScrollablePage {
section.property: sortFilterRoomListModel.filterText.length === 0 && !Config.mergeRoomList ? "category" : null
section.delegate: Kirigami.ListSectionHeader {
id: sectionHeader
height: implicitHeight
action: Kirigami.Action {
onTriggered: roomListModel.setCategoryVisible(section, !roomListModel.categoryVisible(section))
}