--- a/application/src/PodcastShowsView.cpp Tue Nov 16 18:02:18 2010 +0000
+++ b/application/src/PodcastShowsView.cpp Fri Nov 19 01:47:31 2010 +0000
@@ -883,9 +883,21 @@
info->SetDownloadState(ENotDownloaded);
info->SetPlayState(EPlayed);
iPodcastModel.ShowEngine().UpdateShowL(*info);
-
- UpdateShowItemDataL(iPodcastModel.ActiveShowList()[index], index, 0);
- iListContainer->Listbox()->DrawItem(index);
+
+ if (iShowNewShows)
+ {
+ UpdateListboxItemsL();
+
+ if (index > 0)
+ {
+ iListContainer->Listbox()->SetCurrentItemIndex(index - 1);
+ }
+ }
+ else
+ {
+ UpdateShowItemDataL(iPodcastModel.ActiveShowList()[index], index, 0);
+ iListContainer->Listbox()->DrawItem(index);
+ }
}
}
}