clock2/clockui/uilayer/clockworldview/src/clockworldview.cpp
branchRCL_3
changeset 5 42814f902fe6
parent 0 f979ecb2b13e
child 14 21239b3bcd78
--- a/clock2/clockui/uilayer/clockworldview/src/clockworldview.cpp	Tue Feb 02 10:12:19 2010 +0200
+++ b/clock2/clockui/uilayer/clockworldview/src/clockworldview.cpp	Fri Feb 19 22:49:53 2010 +0200
@@ -952,21 +952,13 @@
         // Update the world array.
         iWorldArray->RemoveCity( currentListItem );
                                     
-        if( currentListItem >= iWorldArray->MdcaCount() )
-            {
-            currentListItem = iWorldArray->MdcaCount() - 1;
-            }
-        if( KNoCities <= currentListItem )
-            {
-            // Make the list to display the previous item.
-            iContainer->ListBox()->SetCurrentItemIndex( currentListItem );
-            }
+       
 
         // Update the document.
         CClockDocument* clockDocument = static_cast< CClockDocument* > ( AppUi()->Document() );
         clockDocument->StoreDataL();
         // Update the container.
-        iContainer->ListBox()->HandleItemRemovalL();
+       
         // If there are no more cities present, update the empty list text.
         if( KNoCities == iWorldArray->MdcaCount() )
             {