From 5492ca63acc1bc2e17deac92b1b5ae70f7294697 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marcin=20Ka=C5=BAmierczak?= Date: Tue, 1 Mar 2011 11:08:51 +0100 Subject: [PATCH] Fix (?) problem with enter pressed on iconButton --- src/mdictionary/qml/IconButton.qml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mdictionary/qml/IconButton.qml b/src/mdictionary/qml/IconButton.qml index 37825a7..4ac2ee7 100644 --- a/src/mdictionary/qml/IconButton.qml +++ b/src/mdictionary/qml/IconButton.qml @@ -12,6 +12,10 @@ Rectangle { radius: 50 + Keys.onReturnPressed: { + button.clicked(); + } + MouseArea { id: mouseArea anchors.centerIn: parent; -- 1.7.9.5