diff --git a/tests/ui/modules/Common/Form/ExclusiveButtons.qml b/tests/ui/modules/Common/Form/ExclusiveButtons.qml index c7f374ccf..02313e8d8 100644 --- a/tests/ui/modules/Common/Form/ExclusiveButtons.qml +++ b/tests/ui/modules/Common/Form/ExclusiveButtons.qml @@ -22,7 +22,23 @@ Row { spacing: ExclusiveButtonsStyle.buttonsSpacing + Keys.onLeftPressed: { + if (selectedButton > 0) { + clicked(--selectedButton) + } + } + + Keys.onRightPressed: { + if (selectedButton < repeater.count - 1) { + clicked(++selectedButton) + } + } + + // --------------------------------------------------------------------------- + Repeater { + id: repeater + model: texts SmallButton {