summaryrefslogtreecommitdiffstats
path: root/src/private/BasicButton.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/private/BasicButton.qml')
-rw-r--r--src/private/BasicButton.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/private/BasicButton.qml b/src/private/BasicButton.qml
index 412028a08..f0d2a9ece 100644
--- a/src/private/BasicButton.qml
+++ b/src/private/BasicButton.qml
@@ -122,6 +122,8 @@ Control {
onTriggered: button.clicked()
}
+ activeFocusOnTab: true
+
Keys.onPressed: {
if (event.key === Qt.Key_Space && !event.isAutoRepeat && !behavior.pressed)
behavior.keyPressed = true;