photosgallery/commonui/src/glxnavigationalstate.cpp
branchRCL_3
changeset 35 420f6808bf21
parent 18 bcb43dc84c44
equal deleted inserted replaced
32:78ad99c24f08 35:420f6808bf21
   205     /**
   205     /**
   206     * Activate previous view
   206     * Activate previous view
   207     */
   207     */
   208     inline void ActivatePreviousViewL()
   208     inline void ActivatePreviousViewL()
   209         {
   209         {
   210         iViewingMode = NGlxNavigationalState::EBrowse;
   210         if (!iIsNavigating)
   211         //go back one view
   211             {
   212         if ( iViewUtility->ViewHistoryDepth() > 1 )
   212             iViewingMode = NGlxNavigationalState::EBrowse;
   213             {
   213             //go back one view
   214             iViewUtility->ActivatePreviousViewL();
   214             if (iViewUtility->ViewHistoryDepth() > 1)
   215             
   215                 {
       
   216                 iViewUtility->ActivatePreviousViewL();
       
   217                 }
   216             }
   218             }
   217         }
   219         }
   218      
   220      
   219 
   221 
   220     // From MMPXCollectionObserver
   222     // From MMPXCollectionObserver