--- 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
//
// -----------------------------------------------------------------------------