src/hbinput/inputwidgets/hbinputcommondialogs.cpp
changeset 28 b7da29130b0e
parent 6 c3690ec91ef8
--- a/src/hbinput/inputwidgets/hbinputcommondialogs.cpp	Thu Sep 02 20:44:51 2010 +0300
+++ b/src/hbinput/inputwidgets/hbinputcommondialogs.cpp	Fri Sep 17 08:32:10 2010 +0300
@@ -34,6 +34,7 @@
 #include <hbinputsettingproxy.h>
 #include <hbinputmethod.h>
 #include <hbinputregioncollector_p.h>
+#include <hbpopup_p.h>
 
 /// @cond
 
@@ -57,6 +58,7 @@
 
     // Make sure the language dialog never steals focus.
     langDialog->setFlag(QGraphicsItem::ItemIsPanel, true);
+    HbPopupPrivate::d_ptr(langDialog)->mActivePopup = false;
     langDialog->setActive(false);
 
     HbInputSettingProxy *settings = HbInputSettingProxy::instance();
@@ -127,6 +129,7 @@
 
     // Make sure the language dialog never steals focus.
     methodDialog->setFlag(QGraphicsItem::ItemIsPanel, true);
+    HbPopupPrivate::d_ptr(methodDialog)->mActivePopup = false;
     methodDialog->setActive(false);
 
     QList<HbInputMethodDescriptor> customList = HbInputMethod::listCustomInputMethods();