aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndrew den Exter <andrew.den-exter@nokia.com>2012-05-25 16:02:41 +1000
committerQt by Nokia <qt-info@nokia.com>2012-05-29 08:54:52 +0200
commitfbc66c4f42c23fdcec999d374018dff969f77140 (patch)
tree76504ada3cf740ba50d1b9c83ba7e2f5c3ed1fdb /src
parentfd94887439dcc65ce30feda13ff8cbf0e30321db (diff)
Update the cursor rectangle when password echo timer expires.
Ensures the cursor is positioned correctly is if the echo mask glyph has a different width to the character it replaced. Change-Id: I924234d4ae29cbb2e61638918005fcc3dc230993 Reviewed-by: Yann Bodson <yann.bodson@nokia.com>
Diffstat (limited to 'src')
-rw-r--r--src/quick/items/qquicktextinput.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/quick/items/qquicktextinput.cpp b/src/quick/items/qquicktextinput.cpp
index 06a572681a..95368fd465 100644
--- a/src/quick/items/qquicktextinput.cpp
+++ b/src/quick/items/qquicktextinput.cpp
@@ -3995,6 +3995,7 @@ void QQuickTextInput::timerEvent(QTimerEvent *event)
} else if (event->timerId() == d->m_passwordEchoTimer.timerId()) {
d->m_passwordEchoTimer.stop();
d->updateDisplayText();
+ updateCursorRectangle();
}
}