diff options
author | Andrew den Exter <andrew.den-exter@nokia.com> | 2011-02-08 03:43:19 (GMT) |
---|---|---|
committer | Andrew den Exter <andrew.den-exter@nokia.com> | 2011-02-09 00:19:48 (GMT) |
commit | f7e789710568d263816f50bd5782cc7adec41249 (patch) | |
tree | b267e8889b36d5e53802134791ab97d0e6444db8 /src/declarative/graphicsitems/qdeclarativetext_p.h | |
parent | dd49b322b327fe87d8420abcce0e6cee877a88d7 (diff) | |
download | Qt-f7e789710568d263816f50bd5782cc7adec41249.zip Qt-f7e789710568d263816f50bd5782cc7adec41249.tar.gz Qt-f7e789710568d263816f50bd5782cc7adec41249.tar.bz2 |
Don't clear pre-edit text when a graphics items loses focus.
Don't forceably reset the input method state when a graphics item
loses focus, reset the input context and let it handle sending the
appropriate events itself. That way behavior is consistent with
QWidget and the input context can opt to commit its current
pre-edit text instead of discarding it. And don't change the focus
until after the input context has been reset or the input method
events won't be delivered.
Change-Id: Ic545bccab6bf671709c1d06d499217baf614e6f9
Task-number: QTBUG-16997
Reviewed-by: axis
Diffstat (limited to 'src/declarative/graphicsitems/qdeclarativetext_p.h')
0 files changed, 0 insertions, 0 deletions