photosgallery/viewframework/commandhandlers/commoncommandhandlers/src/glxcommandhandlerdetails.cpp
--- a/photosgallery/viewframework/commandhandlers/commoncommandhandlers/src/glxcommandhandlerdetails.cpp Tue May 11 16:13:40 2010 +0300
+++ b/photosgallery/viewframework/commandhandlers/commoncommandhandlers/src/glxcommandhandlerdetails.cpp Tue May 25 12:42:31 2010 +0300
@@ -178,6 +178,11 @@
if ( err == KErrNone )
{
TInt focusIndex = aList.FocusIndex();
+ // In Grid view, details will be shown for the selected item
+ if (aList.SelectionCount() == 1)
+ {
+ focusIndex = aList.SelectedItemIndex(0);
+ }
TGlxMedia item = aList.Item(focusIndex);
const CGlxMedia* media = item.Properties();