--- a/notepad/notepad1/LibSrc/NpdViewerDialog.cpp Wed Mar 31 21:29:10 2010 +0300
+++ b/notepad/notepad1/LibSrc/NpdViewerDialog.cpp Wed Apr 14 15:55:57 2010 +0300
@@ -583,33 +583,23 @@
// -----------------------------------------------------------------------------
//
void CNotepadViewerDialog::HandleDialogPointerEventL( const TPointerEvent& aPointerEvent )
-{
-
- if(!AknLayoutUtils::PenEnabled())
- {
- return;
- }
+ {
+ if(!AknLayoutUtils::PenEnabled())
+ {
+ return;
+ }
- if(aPointerEvent.iType == TPointerEvent::EButton1Up )
- {
-
- TInt curPos = iEditor->CursorPos();
- TRect rect = iEditor->Rect();
- if ( !iAutoFinder->ItemWasTappedL( aPointerEvent.iPosition - rect.iTl ) )
- {
- return;
- }
-
- TInt curPos1 = iEditor->CursorPos();
- if (curPos == curPos1)
- {
- iFlags |= ENotepadMenuByOkKey;
- DisplayMenuL();
- }
-
-
+ if( aPointerEvent.iType == TPointerEvent::EButton1Up )
+ {
+ TRect rect = iEditor->Rect();
+ if ( !iAutoFinder->ItemWasTappedL( aPointerEvent.iPosition - rect.iTl ) )
+ {
+ return;
+ }
+
+ DisplayMenuL();
+ }
}
-}
// -----------------------------------------------------------------------------
// CNotepadViewerDialog::HandleNumberCallL