summaryrefslogtreecommitdiff
path: root/doc/src/snippets/code/src_script_qscriptvalueiterator.cpp
diff options
context:
space:
mode:
authorAndrew den Exter <andrew.den-exter@nokia.com>2011-06-20 12:18:57 +1000
committerAndrew den Exter <andrew.den-exter@nokia.com>2011-06-20 12:32:27 +1000
commitbb11b53bedb8e239b9439b4a3fc3320e35c2de57 (patch)
treeba9b8319529dd0e12df03ca7c4a57671534a1c22 /doc/src/snippets/code/src_script_qscriptvalueiterator.cpp
parentde48af046a093834b8178238a2afb2efc8636efd (diff)
downloadqt4-tools-bb11b53bedb8e239b9439b4a3fc3320e35c2de57.tar.gz
Scroll correctly when cursorPosition is changed within onTextChanged.
Emit textChanged() before adjusting size and scroll positions otherwise the calculations will be based on the cursor position before it's moved in handler and because the cursor position won't ultimately have changed there won't be a follow up cursorPositionChanged() signal to trigger a second set of calculation. Change-Id: I1af7cf320baf984388d90562233c5686dcf44d20 Task-number: QTBUG-19912 Reviewed-by: Martin Jones
Diffstat (limited to 'doc/src/snippets/code/src_script_qscriptvalueiterator.cpp')
0 files changed, 0 insertions, 0 deletions