cmmanager/cmmgr/Framework/Src/uncatdlg.cpp
branchRCL_3
changeset 55 fc7b30ed2058
parent 24 c45d4fe2ff0a
--- a/cmmanager/cmmgr/Framework/Src/uncatdlg.cpp	Thu Jul 15 19:05:04 2010 +0300
+++ b/cmmanager/cmmgr/Framework/Src/uncatdlg.cpp	Thu Aug 19 10:18:49 2010 +0300
@@ -200,7 +200,7 @@
                 TInt selected = iListbox->CurrentItemIndex();
                 TInt noi = iListbox->Model()->NumberOfItems();
                 // If it is the last then the previous will be selected.
-                if( selected == noi-1 )
+                if( ( selected == noi-1 ) && ( selected > 0 ))
                     {
                     selected--;
                     }