summaryrefslogtreecommitdiffstats
path: root/tools/qml
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2010-06-09 23:48:27 (GMT)
committerMartin Jones <martin.jones@nokia.com>2010-06-09 23:48:27 (GMT)
commit433ad48e3ce0fd66d6165714c0bd811d5cb79a35 (patch)
tree2741590027107df61e88326e7fd89b8ddf4a1c0b /tools/qml
parent4a0e8de4780c071ae4aa235a30a421878f29228d (diff)
downloadQt-433ad48e3ce0fd66d6165714c0bd811d5cb79a35.zip
Qt-433ad48e3ce0fd66d6165714c0bd811d5cb79a35.tar.gz
Qt-433ad48e3ce0fd66d6165714c0bd811d5cb79a35.tar.bz2
qmlviewer: ensure that only clicks on the current file list are handled.
Task-number: QTBUG-11315
Diffstat (limited to 'tools/qml')
-rw-r--r--tools/qml/content/Browser.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qml/content/Browser.qml b/tools/qml/content/Browser.qml
index 838a848..ff2bb47 100644
--- a/tools/qml/content/Browser.qml
+++ b/tools/qml/content/Browser.qml
@@ -134,7 +134,7 @@ Rectangle {
MouseArea {
id: mouseRegion
anchors.fill: parent
- onClicked: { launch() }
+ onClicked: { if (folders == wrapper.ListView.view.model) launch() }
}
states: [
State {