javauis/eswt_akn/org.eclipse.ercp.swt.s60/native/src/swttextextension.cpp
branchRCL_3
changeset 24 6c158198356e
parent 19 71c436fe3ce0
--- a/javauis/eswt_akn/org.eclipse.ercp.swt.s60/native/src/swttextextension.cpp	Thu Jul 15 18:31:06 2010 +0300
+++ b/javauis/eswt_akn/org.eclipse.ercp.swt.s60/native/src/swttextextension.cpp	Thu Aug 19 09:48:13 2010 +0300
@@ -280,6 +280,19 @@
 //
 void CSwtTextExtension::FetchEmailL()
 {
+#ifdef RD_JAVA_S60_RELEASE_9_2
+    // Closing the VKB. Otherwise opened dialog will not be drawn over
+    // the whole screen. After closing dialog, VKB opens itself again
+    if (Editor().IsFocused())
+    {
+        CCoeFep* fep = iDisplay.CoeEnv()->Fep();
+        if (fep)
+        {
+            fep->HandleDestructionOfFocusedItem();
+        }
+    }
+#endif //RD_JAVA_S60_RELEASE_9_2
+
     // The dialog used to select the address doesn't work properly if there is no
     // status pane. Therefore, the status pane is temporarily made visible for
     // the duration of showing the dialog.