notepad/notepad1/LibSrc/NpdListDialog.cpp
branchRCL_3
changeset 27 aba12c885d83
parent 25 bf573002ff72
child 28 96907930389d
--- a/notepad/notepad1/LibSrc/NpdListDialog.cpp	Mon Jun 21 15:38:59 2010 +0300
+++ b/notepad/notepad1/LibSrc/NpdListDialog.cpp	Thu Jul 15 18:37:27 2010 +0300
@@ -974,13 +974,13 @@
                 // this must after InsertSendMenuItemAfterL
                 aMenuPane->DeleteMenuItem(ENotepadCmdOpen);
                 }
-            if ( markCount >= 1 && IsNoteListDialog() )
+            if ( markCount >= 1 && IsNoteListDialog() && ( memoCount > 0 ) )
                 {
                 aMenuPane->SetItemSpecific( ENotepadCmdSend, EFalse );
                 aMenuPane->SetItemSpecific( ENotepadCmdDelete, EFalse );
                 }
             
-            if ( IsTemplateListDialog() )
+            if ( IsTemplateListDialog() && ( memoCount > 0 ) )
                 {
                 aMenuPane->SetItemSpecific( ENotepadCmdSend, ETrue );
                 if ( markCount >= 1 )