From 46c4a95f70deb36c8877d4d8a1e419490d9100ab Mon Sep 17 00:00:00 2001 From: Warwick Allison Date: Wed, 18 Nov 2009 15:09:13 +1000 Subject: 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. --- demos/declarative/webbrowser/webbrowser.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v0.12