summaryrefslogtreecommitdiffstats
path: root/src/declarative/graphicsitems/qdeclarativetextinput.cpp
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2010-12-13 05:46:33 (GMT)
committerMartin Jones <martin.jones@nokia.com>2010-12-13 05:46:33 (GMT)
commit047695e49afa1303d8d83c326bfeeaf01297fefe (patch)
tree4c05c843318ed11368bcd70ab5dcb620b926ef18 /src/declarative/graphicsitems/qdeclarativetextinput.cpp
parent409f60f0f6fd2c2bad6125d0463c812ba1b1180a (diff)
parent18b940539d0633f30ae055feedb48aeb15969814 (diff)
downloadQt-047695e49afa1303d8d83c326bfeeaf01297fefe.zip
Qt-047695e49afa1303d8d83c326bfeeaf01297fefe.tar.gz
Qt-047695e49afa1303d8d83c326bfeeaf01297fefe.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into qtquick11
Diffstat (limited to 'src/declarative/graphicsitems/qdeclarativetextinput.cpp')
-rw-r--r--src/declarative/graphicsitems/qdeclarativetextinput.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativetextinput.cpp b/src/declarative/graphicsitems/qdeclarativetextinput.cpp
index 2fb7ace..4649be8 100644
--- a/src/declarative/graphicsitems/qdeclarativetextinput.cpp
+++ b/src/declarative/graphicsitems/qdeclarativetextinput.cpp
@@ -779,7 +779,7 @@ void QDeclarativeTextInput::setEchoMode(QDeclarativeTextInput::EchoMode echo)
imHints &= ~(Qt::ImhNoAutoUppercase | Qt::ImhNoPredictiveText);
setInputMethodHints(imHints);
d->control->setEchoMode((uint)echo);
- update();
+ q_textChanged();
emit echoModeChanged(echoMode());
}
@@ -1487,6 +1487,7 @@ void QDeclarativeTextInput::cursorPosChanged()
updateRect();//TODO: Only update rect between pos's
updateMicroFocus();
emit cursorPositionChanged();
+ d->control->resetCursorBlinkTimer();
if(!d->control->hasSelectedText()){
if(d->lastSelectionStart != d->control->cursor()){