photosgallery/viewframework/commandhandlers/commoncommandhandlers/src/glxmediaselectionpopup.cpp
changeset 1 9ba538e329bd
parent 0 4e91876724a2
child 9 6b87b143d312
equal deleted inserted replaced
0:4e91876724a2 1:9ba538e329bd
   195 void CGlxSingleGraphicPopupMenuStyleListBox::HandleListBoxEventL (CEikListBox *aListBox, TListBoxEvent aEventType)
   195 void CGlxSingleGraphicPopupMenuStyleListBox::HandleListBoxEventL (CEikListBox *aListBox, TListBoxEvent aEventType)
   196 	{
   196 	{
   197 	switch(aEventType)
   197 	switch(aEventType)
   198 		{
   198 		{
   199 		case EEventItemClicked :
   199 		case EEventItemClicked :
       
   200 		case EEventItemSingleClicked :
   200 			{
   201 			{
   201 			CGlxMediaListAdaptor* mediaListAdaptor = static_cast <CGlxMediaListAdaptor*>(Model()->ItemTextArray());
   202 			CGlxMediaListAdaptor* mediaListAdaptor = static_cast <CGlxMediaListAdaptor*>(Model()->ItemTextArray());
   202 	        if (mediaListAdaptor->MultiSelectionEnabled() && View()->CurrentItemIndex() >= 0 )
   203 	        if (mediaListAdaptor->MultiSelectionEnabled() && View()->CurrentItemIndex() >= 0 )
   203 	            {
   204 	            {
   204 	            const TGlxMedia&  item = mediaListAdaptor->MediaList()->Item(View()->CurrentItemIndex());
   205 	            const TGlxMedia&  item = mediaListAdaptor->MediaList()->Item(View()->CurrentItemIndex());