aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquicktextedit/data/qtbug51115.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/quick/qquicktextedit/data/qtbug51115.qml')
-rw-r--r--tests/auto/quick/qquicktextedit/data/qtbug51115.qml11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/auto/quick/qquicktextedit/data/qtbug51115.qml b/tests/auto/quick/qquicktextedit/data/qtbug51115.qml
new file mode 100644
index 0000000000..e3179cfc8e
--- /dev/null
+++ b/tests/auto/quick/qquicktextedit/data/qtbug51115.qml
@@ -0,0 +1,11 @@
+import QtQuick 2.0
+
+TextEdit {
+ Component.onCompleted: {
+ readOnly = false;
+ text= "bla bla";
+ selectAll();
+ readOnly = true;
+ }
+}
+