mpxplugins/viewplugins/views/collectionviewhg/src/mpxcollectionviewhgcontainer.cpp
branchRCL_3
changeset 60 bdd9da0d70fe
parent 56 2cbbefa9af78
child 66 1f1dad4af8f8
equal deleted inserted replaced
56:2cbbefa9af78 60:bdd9da0d70fe
  2341             }
  2341             }
  2342         else if ( !ShufflePlayAllL(index) )
  2342         else if ( !ShufflePlayAllL(index) )
  2343             {
  2343             {
  2344             // To open the selected album.
  2344             // To open the selected album.
  2345             iView->ProcessCommandL( EMPXCmdCommonEnterKey );
  2345             iView->ProcessCommandL( EMPXCmdCommonEnterKey );
       
  2346             iPlaybackUtility->SetL( EPbPropertyRandomMode, EFalse ); 
  2346             }
  2347             }
  2347 
  2348 
  2348 		// Disable transition in reorder mode
  2349 		// Disable transition in reorder mode
  2349         if( !inReorderMode )
  2350         if( !inReorderMode )
  2350             {   
  2351             {   
  4140 					cpath->Set(randIndex);
  4141 					cpath->Set(randIndex);
  4141 					iPlaybackUtility->SetL( EPbPropertyRandomMode, ETrue );
  4142 					iPlaybackUtility->SetL( EPbPropertyRandomMode, ETrue );
  4142 					}
  4143 					}
  4143 				else
  4144 				else
  4144 					{
  4145 					{
       
  4146 					iPlaybackUtility->SetL( EPbPropertyRandomMode, EFalse ); 
  4145 					cpath->Set(aIndex-1); // actual selection
  4147 					cpath->Set(aIndex-1); // actual selection
  4146 					}
  4148 					}
  4147 				}
  4149 				}
  4148 			else
  4150 			else
  4149 				{
  4151 				{
       
  4152 				iPlaybackUtility->SetL( EPbPropertyRandomMode, EFalse ); 
  4150 				cpath->Set(aIndex);
  4153 				cpath->Set(aIndex);
  4151 				}
  4154 				}
  4152 			}
  4155 			}
  4153 
  4156 
  4154 		MPX_DEBUG_PATH(*cpath);
  4157 		MPX_DEBUG_PATH(*cpath);