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.fillWidth: true
|
||||||
Layout.fillHeight: true
|
Layout.fillHeight: true
|
||||||
|
|
||||||
Keys.onUpPressed: roomList.decrementCurrentIndex()
|
Keys.forwardTo: [roomList]
|
||||||
Keys.onDownPressed: roomList.incrementCurrentIndex()
|
Keys.priority: Keys.AfterItem
|
||||||
|
|
||||||
Keys.onEnterPressed: Keys.onReturnPressed(event)
|
Keys.onEnterPressed: Keys.onReturnPressed(event)
|
||||||
Keys.onReturnPressed: {
|
Keys.onReturnPressed: {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user