calendarui/controller/src/calenmultipledbui.cpp
branchCompilerCompatibility
changeset 11 7d78dc22f397
parent 5 42814f902fe6
child 13 0f07cd1b5772
equal deleted inserted replaced
8:8d6dd3663aad 11:7d78dc22f397
  1345        if ( aEventType == EEventEnterKeyPressed ||
  1345        if ( aEventType == EEventEnterKeyPressed ||
  1346             
  1346             
  1347             aEventType == EEventItemSingleClicked )
  1347             aEventType == EEventItemSingleClicked )
  1348            {
  1348            {
  1349            const TInt index(iListBox->CurrentItemIndex());
  1349            const TInt index(iListBox->CurrentItemIndex());
  1350            if ( index != KErrNotFound )
  1350            if ( index != KErrNotFound && !iIsDbEditorOpen )
  1351                {
  1351                {
       
  1352                iIsDbEditorOpen = ETrue ;
  1352                ProcessCommandL( ECalenCmdEdit );
  1353                ProcessCommandL( ECalenCmdEdit );
       
  1354                iIsDbEditorOpen = EFalse ;
  1353                }
  1355                }
  1354            }
  1356            }
  1355        }
  1357        }
  1356     TRACE_EXIT_POINT;
  1358     TRACE_EXIT_POINT;
  1357     }
  1359     }