diff options
author | Yann Bodson <yann.bodson@nokia.com> | 2010-12-02 06:55:28 (GMT) |
---|---|---|
committer | Yann Bodson <yann.bodson@nokia.com> | 2010-12-02 06:57:56 (GMT) |
commit | afbf017b8929d1215851dc43823de61fb1ffa400 (patch) | |
tree | f35162c9f67e99f804001bcdb679c4763c3e9899 | |
parent | b5a2e8bc3e49ed13d44d4273f5e65cda97c55db1 (diff) | |
download | Qt-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.cpp | 2 |
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()); } |