photosgallery/viewframework/views/viewbase/src/glxtitlefetcher.cpp
branchRCL_3
changeset 17 a60acebbbd9d
parent 0 4e91876724a2
--- a/photosgallery/viewframework/views/viewbase/src/glxtitlefetcher.cpp	Tue Apr 27 16:37:53 2010 +0300
+++ b/photosgallery/viewframework/views/viewbase/src/glxtitlefetcher.cpp	Tue May 11 16:13:40 2010 +0300
@@ -57,7 +57,10 @@
     iPathId = iPath->Id();
     // Go back another level from which to create a media list containing 
     // this path
-    iPath->Back();
+    if(iPath->Levels() > 0)
+    	{
+		iPath->Back();
+    	}
     
     iBackMediaList = MGlxMediaList::InstanceL(*iPath);