diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2009-11-18 05:09:13 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2009-11-18 05:09:13 (GMT) |
commit | 46c4a95f70deb36c8877d4d8a1e419490d9100ab (patch) | |
tree | 39ebfa06e53a22cab5eafd5fbdaeb32a9ceed188 /demos/declarative | |
parent | 9614a2775df27602b1d1bb0946feb4bb593cbf39 (diff) | |
download | Qt-46c4a95f70deb36c8877d4d8a1e419490d9100ab.zip Qt-46c4a95f70deb36c8877d4d8a1e419490d9100ab.tar.gz Qt-46c4a95f70deb36c8877d4d8a1e419490d9100ab.tar.bz2 |
Fix URL update in demo
If you manually typed in a url in the qml webbrowser demo the browser stopped updating the url bar with the current page your are on.
Diffstat (limited to 'demos/declarative')
-rw-r--r-- | demos/declarative/webbrowser/webbrowser.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/declarative/webbrowser/webbrowser.qml b/demos/declarative/webbrowser/webbrowser.qml index 23e0a20..0f6ed25 100644 --- a/demos/declarative/webbrowser/webbrowser.qml +++ b/demos/declarative/webbrowser/webbrowser.qml @@ -216,7 +216,7 @@ Item { preferredHeight: flickable.height zoomFactor: flickable.width > 980 ? 1 : flickable.width/980 - onUrlChanged: { if (url != null) { webBrowser.urlString = url.toString(); } } + onUrlChanged: { if (url != null) { editUrl.text = url.toString(); } } onDoubleClick: { if (!heuristicZoom(clickX,clickY,2.5)) { var zf = flickable.width > 980 ? 1 : flickable.width/980; |