Room filter field: forward keys to room list
The room list can handle up/down presses out of the box, no need to define handlers for these on the filter field.
This commit is contained in:
parent
92cbc4b006
commit
cfde6cb633
|
@ -46,8 +46,8 @@ Rectangle {
|
|||
Layout.fillWidth: true
|
||||
Layout.fillHeight: true
|
||||
|
||||
Keys.onUpPressed: roomList.decrementCurrentIndex()
|
||||
Keys.onDownPressed: roomList.incrementCurrentIndex()
|
||||
Keys.forwardTo: [roomList]
|
||||
Keys.priority: Keys.AfterItem
|
||||
|
||||
Keys.onEnterPressed: Keys.onReturnPressed(event)
|
||||
Keys.onReturnPressed: {
|
||||
|
|
Loading…
Reference in New Issue
Block a user