Fix for regression in popup menu fix for queue view
authorteknolog
Sat, 13 Mar 2010 22:20:33 +0000
changeset 57 31e34b8e2878
parent 56 c5cd47bc11ef
child 66 bb78b150af5e
child 95 c06c2a75bb57
Fix for regression in popup menu fix for queue view
application/sis/podcatcher_udeb.sis
application/sis/podcatcher_udeb_signed.sis
application/sis/podcatcher_urel.sis
application/sis/podcatcher_urel_signed.sis
application/src/PodcastListView.cpp
Binary file application/sis/podcatcher_udeb.sis has changed
Binary file application/sis/podcatcher_udeb_signed.sis has changed
Binary file application/sis/podcatcher_urel.sis has changed
Binary file application/sis/podcatcher_urel_signed.sis has changed
--- 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");
 }