cmmanager/cmmgr/Framework/Src/cmdlg.cpp
branchRCL_3
changeset 26 0a9e01492035
parent 24 c45d4fe2ff0a
child 36 04408506c6e0
--- a/cmmanager/cmmgr/Framework/Src/cmdlg.cpp	Tue May 11 16:35:05 2010 +0300
+++ b/cmmanager/cmmgr/Framework/Src/cmdlg.cpp	Tue May 25 13:08:02 2010 +0300
@@ -190,7 +190,7 @@
     if ( iHighlight )
         {
         iListbox->ScrollToMakeItemVisible( iHighlight );
-        iListbox->SetCurrentItemIndexAndDraw( iHighlight );
+        iListbox->SetCurrentItemIndex( iHighlight );
         }    
     }
     
@@ -1042,7 +1042,7 @@
             //first item cannot be deleted
             iListbox->ScrollToMakeItemVisible( 
                                     iListbox->Model()->NumberOfItems() -1 );
-            iListbox->SetCurrentItemIndexAndDraw( iHighlight );
+            iListbox->SetCurrentItemIndex( iHighlight );
             }
         }
     }
@@ -1685,6 +1685,7 @@
         if ( selected >= 0 )
             {
             iListbox->ScrollToMakeItemVisible( selected);
+            iListbox->SetCurrentItemIndex( selected );
             }
         }
     }