# HG changeset patch # User teknolog # Date 1267398055 0 # Node ID 7aa3544d8be30a6f80fc94d3db3806cf193baad9 # Parent f21a29fc4769c33fe00fcded8f10d700bad865b8 Long tap fix applied to show view too diff -r f21a29fc4769 -r 7aa3544d8be3 application/src/PodcastShowsView.cpp --- a/application/src/PodcastShowsView.cpp Sun Feb 28 21:38:03 2010 +0000 +++ b/application/src/PodcastShowsView.cpp Sun Feb 28 23:00:55 2010 +0000 @@ -605,6 +605,8 @@ CPodcastListView::HandleCommandL(aCommand); break; } + iListContainer->SetLongTapDetected(EFalse); + UpdateToolbar(); } @@ -736,7 +738,9 @@ void CPodcastShowsView::HandleLongTapEventL( const TPoint& aPenEventLocation, const TPoint& /* aPenEventScreenLocation */) { DP("CPodcastShowsView::HandleLongTapEventL BEGIN"); - + + iListContainer->SetLongTapDetected(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;