diff options
author | Lars Knoll <lars.knoll@nokia.com> | 2009-05-19 10:54:22 (GMT) |
---|---|---|
committer | Lars Knoll <lars.knoll@nokia.com> | 2009-05-19 12:08:13 (GMT) |
commit | bfcc49068b99416af2711b48dc5cf6386224345b (patch) | |
tree | 39e4b7dac1db31cb5cc68885c1a7bf38f2bc7575 /demos | |
parent | 21b1acda8aa202c6bd086344888ecb29757fe5bf (diff) | |
download | Qt-bfcc49068b99416af2711b48dc5cf6386224345b.zip Qt-bfcc49068b99416af2711b48dc5cf6386224345b.tar.gz Qt-bfcc49068b99416af2711b48dc5cf6386224345b.tar.bz2 |
better focus handling for the location bar
Diffstat (limited to 'demos')
-rw-r--r-- | demos/declarative/webbrowser/webbrowser.qml | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/demos/declarative/webbrowser/webbrowser.qml b/demos/declarative/webbrowser/webbrowser.qml index df0e1a7..a38d032 100644 --- a/demos/declarative/webbrowser/webbrowser.qml +++ b/demos/declarative/webbrowser/webbrowser.qml @@ -135,6 +135,7 @@ Item { wrap: false font.size: 11 color: "#555555" + focusOnPress: true anchors.left: UrlBox.left anchors.right: UrlBox.right @@ -143,10 +144,6 @@ Item { anchors.verticalCenterOffset: 1 } } - MouseRegion { - anchors.fill: UrlBox - onClicked: { EditUrl.focus=true } - } } property real progressOff : 1 |