photosgallery/viewframework/commandhandlers/commoncommandhandlers/src/glxcommandhandlerback.cpp
equal
deleted
inserted
replaced
149 |
149 |
150 GLX_LOG_INFO1( "CGlxCommandHandlerBack::ExecuteL::Command Id (%d)", |
150 GLX_LOG_INFO1( "CGlxCommandHandlerBack::ExecuteL::Command Id (%d)", |
151 aCommandId ); |
151 aCommandId ); |
152 if(EAknSoftkeyClose == aCommandId) |
152 if(EAknSoftkeyClose == aCommandId) |
153 { |
153 { |
154 GLX_LOG_INFO("CGlxCommandHandlerBack::ExecuteL::goto \ |
154 GLX_LOG_INFO("CGlxCommandHandlerBack::ExecuteL::go to \ |
155 root in UI hierarchy"); |
155 root in UI hierarchy"); |
156 iNavigationalState->NavigateToParentL(); |
156 CMPXCollectionPath* newState = CMPXCollectionPath::NewL(); |
|
157 CleanupStack::PushL( newState ); |
|
158 iNavigationalState->NavigateToL( *newState ); |
|
159 CleanupStack::PopAndDestroy( newState ); |
157 consume = ETrue; |
160 consume = ETrue; |
158 } |
161 } |
159 else if ( aCommandId == EAknSoftkeyBack ) |
162 else if ( aCommandId == EAknSoftkeyBack ) |
160 { |
163 { |
161 switch( iCurrentCommandId ) |
164 switch( iCurrentCommandId ) |