Fix for bug 3853 3rded
authorSebastian Brannstrom <sebastianb@symbian.org>
Thu, 21 Oct 2010 22:46:18 +0100
branch3rded
changeset 280 001f04bc4964
parent 279 5a44ec2f6f4d
child 281 1cae65a87b5e
Fix for bug 3853
application/src/PodcastQueueView.cpp
--- a/application/src/PodcastQueueView.cpp	Sat Oct 16 20:10:01 2010 +0100
+++ b/application/src/PodcastQueueView.cpp	Thu Oct 21 22:46:18 2010 +0100
@@ -176,8 +176,8 @@
 				for (TInt loop = 0; loop< len; loop++)
 					{					
 					UpdateShowItemDataL(fItems[loop], loop);	
-					iListContainer->Listbox()->DrawItem(loop);
 					}
+				iListContainer->Listbox()->DrawNow();
 				}
 			else
 				{
@@ -300,13 +300,17 @@
 			break;
 		case EPodcastSuspendDownloads:
 			{
+			iDontUpdateList = ETrue;
 			iPodcastModel.ShowEngine().SuspendDownloads();
+			iDontUpdateList = EFalse;
 			UpdateListboxItemsL();
 			}
 			break;
 		case EPodcastResumeDownloads:
 			{
+			iDontUpdateList = ETrue;
 			iPodcastModel.ShowEngine().ResumeDownloadsL();
+			iDontUpdateList = EFalse;
 			UpdateListboxItemsL();
 			}
 			break;