--- a/application/src/PodcastShowsView.cpp Fri Nov 19 01:27:00 2010 +0000
+++ b/application/src/PodcastShowsView.cpp Fri Nov 19 01:37:53 2010 +0000
@@ -983,9 +983,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);
+ }
}
}
}