diff options
author | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-06-15 09:19:55 (GMT) |
---|---|---|
committer | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-06-16 09:39:57 (GMT) |
commit | ee9364a30b8562b9eb8444c25288869cf0a7ba8f (patch) | |
tree | 2817fe7dd542e4f4e7c2a8b7abc5622f78c8090c /src/gui/widgets/qtextedit.cpp | |
parent | 840cc3614bb365c018951f5b4211030fc303bcc8 (diff) | |
download | Qt-ee9364a30b8562b9eb8444c25288869cf0a7ba8f.zip Qt-ee9364a30b8562b9eb8444c25288869cf0a7ba8f.tar.gz Qt-ee9364a30b8562b9eb8444c25288869cf0a7ba8f.tar.bz2 |
We should make sure the text cursor is visible when using input methods.
When typing directly text cursor is always visible (and if it isn't,
the widget automatically scrolls to make it visible). It should work
the same when typing using input methods.
Task-number: 254766
Reviewed-by: trustme
Diffstat (limited to 'src/gui/widgets/qtextedit.cpp')
-rw-r--r-- | src/gui/widgets/qtextedit.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/widgets/qtextedit.cpp b/src/gui/widgets/qtextedit.cpp index 1c4df93..61cd0ce 100644 --- a/src/gui/widgets/qtextedit.cpp +++ b/src/gui/widgets/qtextedit.cpp @@ -1659,6 +1659,7 @@ void QTextEdit::inputMethodEvent(QInputMethodEvent *e) } #endif d->sendControlEvent(e); + ensureCursorVisible(); } /*!\reimp |