summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorAdam Kallai <kadam@inf.u-szeged.hu>2014-01-28 05:05:59 -0800
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-28 17:17:39 +0100
commitc007aa08580e462b4731072447355c84579a3d08 (patch)
treea8c190aec81b57a0371c26ab2d31d0188e9a4404 /examples
parentffea2e9317345d1dc7003dda9e346a15717f8bef (diff)
Fix reload button in the QuickNanoBrowser
Change-Id: I3670380d76d014a33e0112631bdb42927b67b9d9 Reviewed-by: Andras Becsi <andras.becsi@digia.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/quick/quicknanobrowser/quickwindow.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/quick/quicknanobrowser/quickwindow.qml b/examples/quick/quicknanobrowser/quickwindow.qml
index 0aff9e36a..5b16527a7 100644
--- a/examples/quick/quicknanobrowser/quickwindow.qml
+++ b/examples/quick/quicknanobrowser/quickwindow.qml
@@ -100,7 +100,7 @@ ApplicationWindow {
ToolButton {
id: reloadButton
iconSource: tabs.currentView && tabs.currentView.loading ? "icons/process-stop.png" : "icons/view-refresh.png"
- onClicked: tabs.currentView.reload()
+ onClicked: tabs.currentView && tabs.currentView.loading ? tabs.currentView.stop() : tabs.currentView.reload()
}
TextField {
id: addressBar