--- 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 )