diff options
author | Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com> | 2014-10-30 22:13:54 +0100 |
---|---|---|
committer | Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com> | 2014-10-31 10:38:38 +0100 |
commit | c6f179c7ac579f60bcbc872b3a687e7163e3ebf7 (patch) | |
tree | 5a1ce5e60f58801c4b24c1c20e279c3aeb3ce8c8 | |
parent | a2b20d230604f90b343611c0df93032ecbeecc3a (diff) | |
download | qtquickcontrols-c6f179c7ac579f60bcbc872b3a687e7163e3ebf7.tar.gz |
TextArea: Make selection persistent
Losing focus is no reason to lose the user's input. This is how
desktop platforms work. Most mobile platforms work the same way.
Change-Id: Ifea1051cd79ea9d0213adfd4f02c18b5573e7823
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
-rw-r--r-- | src/controls/TextArea.qml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/controls/TextArea.qml b/src/controls/TextArea.qml index c644230d..8cfb6dfd 100644 --- a/src/controls/TextArea.qml +++ b/src/controls/TextArea.qml @@ -719,6 +719,7 @@ ScrollView { id: edit focus: true cursorDelegate: __style && __style.__cursorDelegate ? __style.__cursorDelegate : null + persistentSelection: true Rectangle { id: colorRect |