examples/declarative/toys/dynamicscene/dynamicscene.qml
changeset 33 3e2da88830cd
parent 30 5dc02b23752f
child 37 758a864f9613
--- a/examples/declarative/toys/dynamicscene/dynamicscene.qml	Tue Jul 06 15:10:48 2010 +0300
+++ b/examples/declarative/toys/dynamicscene/dynamicscene.qml	Wed Aug 18 10:37:55 2010 +0300
@@ -50,7 +50,12 @@
     //This is a desktop-sized example
     width: 800; height: 480
 
-    
+
+    MouseArea {
+        anchors.fill: parent
+        onClicked: window.focus = false;
+    }
+
     //This is the message box that pops up when there's an error
     Rectangle {
         id: dialog
@@ -179,7 +184,6 @@
                     id: qmlText
                     anchors.fill: parent; anchors.margins: 5
                     readOnly: false
-                    focusOnPress: true
                     font.pixelSize: 14
                     wrapMode: TextEdit.WordWrap