summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-07-21 05:29:46 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-07-21 05:29:46 +0200
commita5e8d20f23a7ee951b8db4166eb0ad68a8bdf0e0 (patch)
treefe184d32721fa847ab18e119e48ff9cc5e753430
parent4bb023e6f95d1d885eb1b706e8507473e53bf787 (diff)
downloadkube-a5e8d20f23a7ee951b8db4166eb0ad68a8bdf0e0.tar.gz
kube-a5e8d20f23a7ee951b8db4166eb0ad68a8bdf0e0.zip
Support key presses on buttons
-rw-r--r--framework/qml/IconButton.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/framework/qml/IconButton.qml b/framework/qml/IconButton.qml
index 62f4d0ff..22972d7c 100644
--- a/framework/qml/IconButton.qml
+++ b/framework/qml/IconButton.qml
@@ -33,6 +33,7 @@ T.Button {
33 33
34 clip: true 34 clip: true
35 hoverEnabled: true 35 hoverEnabled: true
36 Keys.onReturnPressed: root.clicked()
36 37
37 background: Rectangle { 38 background: Rectangle {
38 color: "#2980b9" //FIXME 39 color: "#2980b9" //FIXME