webengine/osswebengine/WebCore/platform/symbian/WidgetSymbian.cpp
branchRCL_3
changeset 94 919f36ff910f
parent 93 79859ed3eea9
--- a/webengine/osswebengine/WebCore/platform/symbian/WidgetSymbian.cpp	Tue Aug 31 16:17:46 2010 +0300
+++ b/webengine/osswebengine/WebCore/platform/symbian/WidgetSymbian.cpp	Wed Sep 01 12:28:30 2010 +0100
@@ -11,7 +11,7 @@
 *
 * Contributors:
 *
-* Description:  
+* Description:
 *
 */
 
@@ -160,7 +160,7 @@
 
     data->visible = false;
 
-    if( getOuterView() )
+    if( getOuterView() && isFrameView() )
         {
         getOuterView()->makeVisible( EFalse );
         }
@@ -243,8 +243,8 @@
     return false;
     }
 
-void Widget::handleEvent(Event* event) 
-{ 
+void Widget::handleEvent(Event* event)
+{
     if (event->type() == keydownEvent && event->isKeyboardEvent()) {
         KeyboardEvent* kevt = static_cast<KeyboardEvent*>(event);
         if (kevt->keyIdentifier() == "Enter") {