src/hbplugins/inputmethods/common/hbinputspellquerydialog.cpp
changeset 7 923ff622b8b9
parent 6 c3690ec91ef8
child 21 4633027730f5
child 34 ed14f46c0e55
--- a/src/hbplugins/inputmethods/common/hbinputspellquerydialog.cpp	Wed Jun 23 18:33:25 2010 +0300
+++ b/src/hbplugins/inputmethods/common/hbinputspellquerydialog.cpp	Tue Jul 06 14:36:53 2010 +0300
@@ -95,7 +95,15 @@
     mDidHandleFinish = false;
     mainWindow()->setProperty("SpellQueryLaunched", true);
     open(this,SLOT(dialogClosed(HbAction*)));
-    mPrimaryAction = qobject_cast<HbAction*>(actions().first()); 
+    mPrimaryAction = qobject_cast<HbAction*>(actions().first());
+
+    // Open keypad for the spell query
+    QInputContext *ic = qApp->inputContext();
+    if (ic) {
+        QEvent *event = new QEvent(QEvent::RequestSoftwareInputPanel);
+        ic->filterEvent(event);
+        delete event;
+    }
 }
 
 void HbInputSpellQuery::dialogClosed(HbAction* action)