Long tap fix applied to show view too
authorteknolog
Sun, 28 Feb 2010 23:00:55 +0000
changeset 28 7aa3544d8be3
parent 27 f21a29fc4769
child 29 08733234ccb1
Long tap fix applied to show view too
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;