From 433ad48e3ce0fd66d6165714c0bd811d5cb79a35 Mon Sep 17 00:00:00 2001 From: Martin Jones Date: Thu, 10 Jun 2010 09:48:27 +1000 Subject: qmlviewer: ensure that only clicks on the current file list are handled. Task-number: QTBUG-11315 --- tools/qml/content/Browser.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- cgit v0.12