aboutsummaryrefslogtreecommitdiff
path: root/components/StandardButton.qml
diff options
context:
space:
mode:
Diffstat (limited to 'components/StandardButton.qml')
-rw-r--r--components/StandardButton.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/StandardButton.qml b/components/StandardButton.qml
index 28572245..77cd2dad 100644
--- a/components/StandardButton.qml
+++ b/components/StandardButton.qml
@@ -146,6 +146,8 @@ Item {
cursorShape: Qt.PointingHandCursor
}
+ Keys.enabled: button.visible
Keys.onSpacePressed: doClick()
+ Keys.onEnterPressed: Keys.onReturnPressed(event)
Keys.onReturnPressed: doClick()
}