Fix for bug 3853 symbian1
authorSebastian Brannstrom <sebastianb@symbian.org>
Thu, 21 Oct 2010 22:46:18 +0100
branchsymbian1
changeset 263 c71e68f962c6
parent 261 55305e953f12
child 266 ff6cd24e77e2
Fix for bug 3853
application/src/PodcastQueueView.cpp
--- a/application/src/PodcastQueueView.cpp	Thu Oct 21 15:51:40 2010 +0100
+++ b/application/src/PodcastQueueView.cpp	Thu Oct 21 22:46:18 2010 +0100
@@ -189,8 +189,8 @@
 				for (TInt loop = 0; loop< len; loop++)
 					{					
 					UpdateShowItemDataL(fItems[loop], loop);	
-					iListContainer->Listbox()->DrawItem(loop);
 					}
+				iListContainer->Listbox()->DrawNow();
 				}
 			else
 				{
@@ -313,13 +313,17 @@
 			break;
 		case EPodcastSuspendDownloads:
 			{
+			iDontUpdateList = ETrue;
 			iPodcastModel.ShowEngine().SuspendDownloads();
+			iDontUpdateList = EFalse;
 			UpdateListboxItemsL();
 			}
 			break;
 		case EPodcastResumeDownloads:
 			{
+			iDontUpdateList = ETrue;
 			iPodcastModel.ShowEngine().ResumeDownloadsL();
+			iDontUpdateList = EFalse;
 			UpdateListboxItemsL();
 			}
 			break;