photosgallery/viewframework/commandhandlers/commoncommandhandlers/src/glxcommandhandlerback.cpp
--- a/photosgallery/viewframework/commandhandlers/commoncommandhandlers/src/glxcommandhandlerback.cpp Mon Mar 15 12:40:30 2010 +0200
+++ b/photosgallery/viewframework/commandhandlers/commoncommandhandlers/src/glxcommandhandlerback.cpp Wed Mar 31 21:31:03 2010 +0300
@@ -151,9 +151,12 @@
aCommandId );
if(EAknSoftkeyClose == aCommandId)
{
- GLX_LOG_INFO("CGlxCommandHandlerBack::ExecuteL::goto \
+ GLX_LOG_INFO("CGlxCommandHandlerBack::ExecuteL::go to \
root in UI hierarchy");
- iNavigationalState->NavigateToParentL();
+ CMPXCollectionPath* newState = CMPXCollectionPath::NewL();
+ CleanupStack::PushL( newState );
+ iNavigationalState->NavigateToL( *newState );
+ CleanupStack::PopAndDestroy( newState );
consume = ETrue;
}
else if ( aCommandId == EAknSoftkeyBack )