rejrejore

This commit is contained in:
Carl Schwan
2024-04-20 16:52:46 +02:00
committed by James Graham
parent 2a735ff1cc
commit bfc756fb35

View File

@@ -182,12 +182,6 @@ QQC2.ScrollView {
}
}
Component.onCompleted: {
headerItem.userListSearchField.KeyNavigation.tab = Qt.binding(() => {
return userList.count > 0 ? userList.itemAtIndex(userList.currentIndex !== -1 ? userList.currentIndex : 0) : null
});
}
KSortFilterProxyModel {
id: sortedMessageEventModel
@@ -209,6 +203,7 @@ QQC2.ScrollView {
delegate: Delegates.RoundedItemDelegate {
id: userDelegate
required property int index
required property string name
required property string userId
required property string avatar
@@ -219,6 +214,8 @@ QQC2.ScrollView {
text: name
KeyNavigation.backtab: index === 0 ? userList.headerItem.userListSearchField : null
onClicked: {
userDelegate.highlighted = true;
RoomManager.resolveResource(userDelegate.userId, "mention");