diff -r c5cd47bc11ef -r 31e34b8e2878 application/src/PodcastListView.cpp --- a/application/src/PodcastListView.cpp Sat Mar 13 22:00:39 2010 +0000 +++ b/application/src/PodcastListView.cpp Sat Mar 13 22:20:33 2010 +0000 @@ -384,16 +384,17 @@ void CPodcastListView::HandleLongTapEventL( const TPoint& aPenEventLocation, const TPoint& /* aPenEventScreenLocation */) { DP("CPodcastListView::HandleLongTapEventL BEGIN"); - iListContainer->SetLongTapDetectedL(ETrue); const TInt KListboxDefaultHeight = 19; // for some reason it returns 19 for an empty listbox in S^1 TInt lbHeight = iListContainer->Listbox()->CalcHeightBasedOnNumOfItems( iListContainer->Listbox()->Model()->NumberOfItems()) - KListboxDefaultHeight; if(iStylusPopupMenu && aPenEventLocation.iY < lbHeight) { + iListContainer->SetLongTapDetectedL(ETrue); iStylusPopupMenu->ShowMenu(); iStylusPopupMenu->SetPosition(aPenEventLocation); } + DP("CPodcastListView::HandleLongTapEventL END"); }