application/src/PodcastQueueView.cpp
branchRCL_3
changeset 265 72305c65726c
parent 243 44d205147a83
child 295 67f53e831ab0
--- a/application/src/PodcastQueueView.cpp	Thu Oct 21 18:52:18 2010 +0100
+++ b/application/src/PodcastQueueView.cpp	Thu Oct 21 22:46:18 2010 +0100
@@ -180,8 +180,8 @@
 				for (TInt loop = 0; loop< len; loop++)
 					{					
 					UpdateShowItemDataL(fItems[loop], loop);	
-					iListContainer->Listbox()->DrawItem(loop);
 					}
+				iListContainer->Listbox()->DrawNow();
 				}
 			else
 				{
@@ -304,13 +304,17 @@
 			break;
 		case EPodcastSuspendDownloads:
 			{
+			iDontUpdateList = ETrue;
 			iPodcastModel.ShowEngine().SuspendDownloads();
+			iDontUpdateList = EFalse;
 			UpdateListboxItemsL();
 			}
 			break;
 		case EPodcastResumeDownloads:
 			{
+			iDontUpdateList = ETrue;
 			iPodcastModel.ShowEngine().ResumeDownloadsL();
+			iDontUpdateList = EFalse;
 			UpdateListboxItemsL();
 			}
 			break;