Open room when pressing Enter or Return

Fix #381
This commit is contained in:
Carl Schwan
2021-05-29 20:15:46 +02:00
parent 562b59d834
commit b37152ff89

View File

@@ -125,6 +125,8 @@ Kirigami.ScrollablePage {
sortFilterRoomListModel.index(index, 0)), ItemSelectionModel.SelectCurrent)
}
}
Keys.onEnterPressed: enterRoomAction.trigger()
Keys.onReturnPressed: enterRoomAction.trigger()
bold: unreadCount > 0
label: name ?? ""
subtitle: {