notepad/notepad1/LibSrc/NpdExternalTextEditorDialog.cpp
branchRCL_3
changeset 36 9c5b1510919f
parent 0 f979ecb2b13e
child 60 96907930389d
--- a/notepad/notepad1/LibSrc/NpdExternalTextEditorDialog.cpp	Tue May 25 12:41:10 2010 +0300
+++ b/notepad/notepad1/LibSrc/NpdExternalTextEditorDialog.cpp	Wed Jun 09 09:40:23 2010 +0300
@@ -310,9 +310,13 @@
         {
            TInt ret = DoSearchL( iFindItemMenu->SearchCase(aCommandId) );
 		   if ( ret == EAknSoftkeyExit )
-			{
-				aCommandId = ret;
-			}
+		       {
+               aCommandId = ret;
+		       }
+		   else
+               {
+               return;
+               }
         }
 
     switch (aCommandId)
@@ -411,6 +415,7 @@
 TInt CNotepadExternalTextDialog::DoSearchL(CFindItemEngine::TFindItemSearchCase aCase)
 	{
 		CFindItemDialog* dialog = CFindItemDialog::NewL( iEditor->Text()->Read(0), aCase );
+	    dialog->EnableSingleClick( ETrue );
 	    TInt ret = dialog->ExecuteLD();
 	    TBuf<128> test = _L("FI returned: ");
 	    test.AppendNum(ret);