calendarui/editors/src/calenunifiededitor.cpp
branchRCL_3
changeset 48 bf573002ff72
parent 36 9c5b1510919f
child 59 aba12c885d83
equal deleted inserted replaced
36:9c5b1510919f 48:bf573002ff72
  1285                     }
  1285                     }
  1286                 }
  1286                 }
  1287             
  1287             
  1288             aMenuPane->AddMenuItemsL( R_CALEN_UNIFIED_EDITOR_DEFAULT_MENUPANE );
  1288             aMenuPane->AddMenuItemsL( R_CALEN_UNIFIED_EDITOR_DEFAULT_MENUPANE );
  1289 
  1289 
  1290             if(  !CCalenLocationUtil::IsMapProviderAvailableL() )   
  1290             if( (iEntryType == CCalEntry::ETodo) || !(CCalenLocationUtil::IsMapProviderAvailableL()) )   
  1291                 {
  1291                 {
  1292                 aMenuPane->DeleteMenuItem( ECalenGetLocation );
  1292                 aMenuPane->DeleteMenuItem( ECalenGetLocation );
  1293                 }
  1293                 }
  1294             
  1294             
  1295             if( IsCreatingNewEntry() )
  1295             if( IsCreatingNewEntry() )