aboutsummaryrefslogtreecommitdiff
path: root/components/InlineButton.qml
diff options
context:
space:
mode:
Diffstat (limited to 'components/InlineButton.qml')
-rw-r--r--components/InlineButton.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/InlineButton.qml b/components/InlineButton.qml
index 45cf841c..402dade2 100644
--- a/components/InlineButton.qml
+++ b/components/InlineButton.qml
@@ -125,6 +125,8 @@ Item {
source: rect
}
+ Keys.enabled: inlineButton.visible
Keys.onSpacePressed: doClick()
+ Keys.onEnterPressed: Keys.onReturnPressed(event)
Keys.onReturnPressed: doClick()
}