photosgallery/viewframework/commandhandlers/commoncommandhandlers/src/glxmediaselectionpopup.cpp
branchRCL_3
changeset 23 b023a8d2866a
parent 18 78ad99c24f08
child 24 ea65f74e6de4
--- a/photosgallery/viewframework/commandhandlers/commoncommandhandlers/src/glxmediaselectionpopup.cpp	Mon Jun 21 15:40:32 2010 +0300
+++ b/photosgallery/viewframework/commandhandlers/commoncommandhandlers/src/glxmediaselectionpopup.cpp	Thu Jul 15 18:39:01 2010 +0300
@@ -264,6 +264,19 @@
 
             break;
             }
+        case EEventEnterKeyPressed:
+            {
+            //Check for MultipleSelection is Disbaled
+            if (!(mediaListAdaptor->MultiSelectionEnabled()))
+                {
+                //Set if its a static item
+                const TGlxMedia& item = mediaListAdaptor->MediaList()->Item(
+                        currItemIndx);
+                mediaListAdaptor->SetStaticItemSelected(item.IsStatic());
+                }
+            CAknPopupList::HandleListBoxEventL( aListBox, aEventType);
+            break;
+            }
         default:
         	{
         	CAknPopupList::HandleListBoxEventL( aListBox, aEventType);