Move the cursor position to the end when TextInput.readOnly is cleared.
authorAndrew den Exter <andrew.den-exter@nokia.com>
Tue, 26 Jul 2011 00:10:50 +0000 (10:10 +1000)
committerQt by Nokia <qt-info@nokia.com>
Tue, 26 Jul 2011 04:29:54 +0000 (06:29 +0200)
commitf79b7b7c87ad69b9e07057a92c6628315b540a0e
tree80e9b116aaccf79a52dae963776342ce88977996
parent245b16b4fb50620aaf49683eb85a93807defea6a
Move the cursor position to the end when TextInput.readOnly is cleared.

Improves consistency with TextEdit.

Task-number: QTBUG-18747
Change-Id: Ieb0a332441557fc6ba4c5ddaafea5c634aff1ee4
Reviewed-on: http://codereview.qt.nokia.com/2131
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Martin Jones <martin.jones@nokia.com>
src/declarative/items/qsgtextinput.cpp
tests/auto/declarative/qsgtextedit/tst_qsgtextedit.cpp
tests/auto/declarative/qsgtextinput/tst_qsgtextinput.cpp