mmsharing/mmshui/src/musuilivesharingviewcontainer.cpp
branchRCL_3
changeset 41 755f0370535b
parent 33 bc78a40cd63c
--- a/mmsharing/mmshui/src/musuilivesharingviewcontainer.cpp	Wed Sep 15 12:09:15 2010 +0300
+++ b/mmsharing/mmshui/src/musuilivesharingviewcontainer.cpp	Wed Oct 13 14:28:06 2010 +0300
@@ -198,9 +198,13 @@
               aKeyEvent.iScanCode );
             
     TKeyResponse ret( EKeyWasNotConsumed );
+    
+    if ( IsVisible() )
+    	{
+		return ret;
+		}
 
-    if ( MUS_NO_TOOLBAR )
-        {
+
         CMusUiLiveSharingView* view = 
             static_cast< CMusUiLiveSharingView* >( MusUiView() );      
         switch ( aKeyEvent.iCode )
@@ -231,7 +235,6 @@
                 }
             default:
                 break;
-            }
         }
 
     MUS_LOG( "mus: [MUSUI ]  <- CMusUiLiveSharingViewContainer::OfferKeyEventL" );