idlehomescreen/xmluirendering/uiengine/src/xnuienginepluginif.cpp
branchRCL_3
changeset 35 3321d3e205b6
parent 34 5456b4e8b3a8
--- a/idlehomescreen/xmluirendering/uiengine/src/xnuienginepluginif.cpp	Wed Sep 01 12:32:46 2010 +0100
+++ b/idlehomescreen/xmluirendering/uiengine/src/xnuienginepluginif.cpp	Tue Sep 14 20:58:58 2010 +0300
@@ -173,11 +173,15 @@
         node = &( aFocusedNode->Node() );
         }
 
-    TRAP_IGNORE
-        (               
-        node->SetStateWithoutNotificationL(
-            XnPropertyNames::style::common::KFocus );        
-        );
+    if ( node )
+        {
+        TRAP_IGNORE( node->SetStateWithoutNotificationL(
+            XnPropertyNames::style::common::KFocus ) );         
+        }
+    else
+        {
+        TRAP_IGNORE( iUiEngine->SetFocusedNodeL( NULL ) );
+        }
     }
 
 // -----------------------------------------------------------------------------
@@ -356,17 +360,6 @@
     }
 
 // -----------------------------------------------------------------------------
-// TXnUiEnginePluginIf::EnablePartialTouchInput
-// 
-// -----------------------------------------------------------------------------
-//               
-EXPORT_C void TXnUiEnginePluginIf::EnablePartialTouchInput( 
-    CXnNodePluginIf& aNode, TBool aEnable )
-    {
-    iUiEngine->EnablePartialTouchInput(aNode.Node(), aEnable);
-    }
-
-// -----------------------------------------------------------------------------
 // TXnUiEnginePluginIf::IsTextEditorActive
 // 
 // -----------------------------------------------------------------------------