summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Bodson <yann.bodson@nokia.com>2010-12-02 06:55:28 (GMT)
committerYann Bodson <yann.bodson@nokia.com>2010-12-02 06:57:56 (GMT)
commitafbf017b8929d1215851dc43823de61fb1ffa400 (patch)
treef35162c9f67e99f804001bcdb679c4763c3e9899
parentb5a2e8bc3e49ed13d44d4273f5e65cda97c55db1 (diff)
downloadQt-afbf017b8929d1215851dc43823de61fb1ffa400.zip
Qt-afbf017b8929d1215851dc43823de61fb1ffa400.tar.gz
Qt-afbf017b8929d1215851dc43823de61fb1ffa400.tar.bz2
Update TextInput when echoMode changes.
Task-number: QTBUG-15779 Reviewed-by: Martin Jones
-rw-r--r--src/declarative/graphicsitems/qdeclarativetextinput.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativetextinput.cpp b/src/declarative/graphicsitems/qdeclarativetextinput.cpp
index 0deacf8..f8421a3 100644
--- a/src/declarative/graphicsitems/qdeclarativetextinput.cpp
+++ b/src/declarative/graphicsitems/qdeclarativetextinput.cpp
@@ -771,7 +771,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());
}