application/src/PodcastShowsView.cpp
branchsymbian1
changeset 166 58268495eb35
parent 164 000f9fc147b2
child 175 cd124c4eb6b9
child 288 757e84a30b9a
--- a/application/src/PodcastShowsView.cpp	Wed Jul 07 14:19:21 2010 +0100
+++ b/application/src/PodcastShowsView.cpp	Wed Jul 07 20:24:29 2010 +0100
@@ -297,10 +297,9 @@
 void CPodcastShowsView::FeedDownloadFinishedL(TFeedState /*aState*/, TUint aFeedUid, TInt /*aError*/)
 	{
 	DP("CPodcastShowsView::FeedDownloadFinishedL BEGIN");
-	// TODO make use of the fact that we know that the feed download is
-	// finished instead of checking feed engine states in UpdateFeedUpdateStateL.
-	if (iPodcastModel.ActiveFeedInfo() != NULL
-			&& iPodcastModel.ActiveFeedInfo()->Uid() == aFeedUid)
+	if (iListContainer->IsVisible() &&
+			iPodcastModel.ActiveFeedInfo() != NULL &&
+			iPodcastModel.ActiveFeedInfo()->Uid() == aFeedUid)
 		{
 		UpdateFeedUpdateStateL();
 		UpdateViewTitleL();