From 8e5ca78249c0080a3e99c59b0a0b1ba2c9e3d953 Mon Sep 17 00:00:00 2001 From: Carl Schwan Date: Thu, 18 Mar 2021 01:49:15 +0100 Subject: [PATCH] Fix selection in room list --- imports/NeoChat/Page/RoomListPage.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imports/NeoChat/Page/RoomListPage.qml b/imports/NeoChat/Page/RoomListPage.qml index 3b4a05970..919939545 100644 --- a/imports/NeoChat/Page/RoomListPage.qml +++ b/imports/NeoChat/Page/RoomListPage.qml @@ -88,7 +88,6 @@ Kirigami.ScrollablePage { action: Kirigami.Action { onTriggered: roomListModel.setCategoryVisible(section, !roomListModel.categoryVisible(section)) } - highlighted: sortFilterRoomListModel.mapFromSource(current).row == index contentItem: RowLayout { implicitHeight: categoryName.implicitHeight Kirigami.Heading { @@ -111,6 +110,7 @@ Kirigami.ScrollablePage { delegate: Kirigami.BasicListItem { id: roomListItem visible: model.categoryVisible || sortFilterRoomListModel.filterText.length > 0 || Config.mergeRoomList + highlighted: listView.currentIndex === index focus: true icon: undefined action: Kirigami.Action {