application/src/PodcastQueueView.cpp
changeset 14 4e75731546eb
parent 13 f58e3c482bd9
child 23 cf4b850bbffb
--- a/application/src/PodcastQueueView.cpp	Thu Feb 25 20:02:27 2010 +0000
+++ b/application/src/PodcastQueueView.cpp	Thu Feb 25 20:20:46 2010 +0000
@@ -567,8 +567,9 @@
 	if (toolbar) {
 		RShowInfoArray &fItems = iPodcastModel.ActiveShowList();
 		TInt itemCnt = fItems.Count();
-		toolbar->SetToolbarVisibility(aVisible);
-	
+		if (iListContainer->IsVisible()) {
+			toolbar->SetToolbarVisibility(aVisible);
+		}
 		toolbar->HideItem(EPodcastRemoveDownload, EFalse, ETrue);
 		toolbar->HideItem(EPodcastRemoveAllDownloads, EFalse, ETrue);
 		toolbar->SetItemDimmed(EPodcastRemoveDownload, itemCnt == 0, ETrue);