diff options
author | Adam Kallai <kadam@inf.u-szeged.hu> | 2014-01-28 05:05:59 -0800 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-01-28 17:17:39 +0100 |
commit | c007aa08580e462b4731072447355c84579a3d08 (patch) | |
tree | a8c190aec81b57a0371c26ab2d31d0188e9a4404 /examples | |
parent | ffea2e9317345d1dc7003dda9e346a15717f8bef (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.qml | 2 |
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 |