Open room when pressing Enter or Return

Fix #381

(cherry picked from commit b37152ff89)
This commit is contained in:
Carl Schwan
2021-05-29 20:15:46 +02:00
parent 1804140ac0
commit e36204bbd8

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: {