Minor fix for highlight move in queue view symbian1
authorSebastian Brannstrom <sebastianb@symbian.org>
Fri, 09 Jul 2010 22:49:31 +0100
branchsymbian1
changeset 173 8466fe8528b6
parent 169 9c77455964f8
child 174 982b1ad423f4
Minor fix for highlight move in queue view
application/src/PodcastQueueView.cpp
--- a/application/src/PodcastQueueView.cpp	Fri Jul 09 14:24:38 2010 +0100
+++ b/application/src/PodcastQueueView.cpp	Fri Jul 09 22:49:31 2010 +0100
@@ -273,8 +273,8 @@
 				iPodcastModel.ShowEngine().ResumeDownloadsL();
 				}
 				
+			UpdateListboxItemsL();
 			iListContainer->Listbox()->SetCurrentItemIndex(index - 1);
-			UpdateListboxItemsL();
 			}
 			break;
 		case EPodcastMoveDownloadDown:
@@ -297,8 +297,8 @@
 				iPodcastModel.ShowEngine().ResumeDownloadsL();
 				}
 			
-			iListContainer->Listbox()->SetCurrentItemIndex(index - 1);
 			UpdateListboxItemsL();
+			iListContainer->Listbox()->SetCurrentItemIndex(index + 1);
 			}
 			break;
 		case EPodcastSuspendDownloads: