src/hbwidgets/widgets/hbsearchpanel.cpp
changeset 34 ed14f46c0e55
parent 1 f7ac710697a9
--- a/src/hbwidgets/widgets/hbsearchpanel.cpp	Mon Oct 04 17:49:30 2010 +0300
+++ b/src/hbwidgets/widgets/hbsearchpanel.cpp	Mon Oct 18 18:23:13 2010 +0300
@@ -250,4 +250,12 @@
     d->mLineEdit->setText(text);
 }
 
-
+bool HbSearchPanel::eventFilter(QObject *watched, QEvent *event)
+{
+    Q_D(HbSearchPanel);
+    if (watched == d->mLineEdit && event->type() == QEvent::FocusIn) {
+        d->mLineEdit->setInputMethodHints(inputMethodHints());
+        return false;
+    }
+    return HbWidget::eventFilter(watched, event);
+}