photosgallery/viewframework/commandhandlers/commoncommandhandlers/src/glxmediaselectionpopup.cpp
branchRCL_3
changeset 23 b023a8d2866a
parent 18 78ad99c24f08
child 24 ea65f74e6de4
equal deleted inserted replaced
21:f9e827349359 23:b023a8d2866a
   260 			if (staticItemSelected)
   260 			if (staticItemSelected)
   261 				{
   261 				{
   262 				ProcessCommandL(EAknSoftkeyOk);
   262 				ProcessCommandL(EAknSoftkeyOk);
   263 				}
   263 				}
   264 
   264 
       
   265             break;
       
   266             }
       
   267         case EEventEnterKeyPressed:
       
   268             {
       
   269             //Check for MultipleSelection is Disbaled
       
   270             if (!(mediaListAdaptor->MultiSelectionEnabled()))
       
   271                 {
       
   272                 //Set if its a static item
       
   273                 const TGlxMedia& item = mediaListAdaptor->MediaList()->Item(
       
   274                         currItemIndx);
       
   275                 mediaListAdaptor->SetStaticItemSelected(item.IsStatic());
       
   276                 }
       
   277             CAknPopupList::HandleListBoxEventL( aListBox, aEventType);
   265             break;
   278             break;
   266             }
   279             }
   267         default:
   280         default:
   268         	{
   281         	{
   269         	CAknPopupList::HandleListBoxEventL( aListBox, aEventType);
   282         	CAknPopupList::HandleListBoxEventL( aListBox, aEventType);