--- a/application/src/PodcastListView.cpp Tue Nov 16 00:28:12 2010 +0000
+++ b/application/src/PodcastListView.cpp Tue Nov 16 00:37:11 2010 +0000
@@ -180,7 +180,7 @@
TInt index = iListboxPortrait->CurrentItemIndex();
- if (IsVisible())
+ if (IsVisible() && index >=0)
iListboxLandscape->SetCurrentItemIndex(index);
iListbox = iListboxLandscape;
@@ -197,7 +197,7 @@
TInt index = iListboxLandscape->CurrentItemIndex();
- if (IsVisible())
+ if (IsVisible() && index >=0)
iListboxPortrait->SetCurrentItemIndex(index);
iListbox = (CEikColumnListBox*) iListboxPortrait;
--- a/application/src/PodcastQueueView.cpp Tue Nov 16 00:28:12 2010 +0000
+++ b/application/src/PodcastQueueView.cpp Tue Nov 16 00:37:11 2010 +0000
@@ -314,7 +314,8 @@
}
UpdateListboxItemsL();
- iListContainer->Listbox()->SetCurrentItemIndex(index + 1);
+ if (index < iPodcastModel.ActiveShowList().Count() -1)
+ iListContainer->Listbox()->SetCurrentItemIndex(index + 1);
}
break;
case EPodcastSuspendDownloads: