summaryrefslogtreecommitdiffstats
path: root/src/declarative
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2010-03-01 04:01:11 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2010-03-01 04:04:20 (GMT)
commitfdca50a7c6833b4d2d47d645a0186112a0cc5462 (patch)
treed6691d218055f196a423eaeb27fb3bd644d77fe3 /src/declarative
parent9b54e9e7168cafd3885a0784dd24f74b8ad058ab (diff)
downloadQt-fdca50a7c6833b4d2d47d645a0186112a0cc5462.zip
Qt-fdca50a7c6833b4d2d47d645a0186112a0cc5462.tar.gz
Qt-fdca50a7c6833b4d2d47d645a0186112a0cc5462.tar.bz2
Fix IM repaint.
Task-number: QT-448
Diffstat (limited to 'src/declarative')
-rw-r--r--src/declarative/graphicsitems/qdeclarativetextinput.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativetextinput.cpp b/src/declarative/graphicsitems/qdeclarativetextinput.cpp
index 9919904..3382628 100644
--- a/src/declarative/graphicsitems/qdeclarativetextinput.cpp
+++ b/src/declarative/graphicsitems/qdeclarativetextinput.cpp
@@ -704,6 +704,8 @@ bool QDeclarativeTextInput::event(QEvent* ev)
break;
default:
handled = d->control->processEvent(ev);
+ if (ev->type() == QEvent::InputMethod)
+ updateSize();
}
if(!handled)
return QDeclarativePaintedItem::event(ev);