calendarui/controller/src/calenmultipledbui.cpp
branchRCL_3
changeset 5 42814f902fe6
parent 0 f979ecb2b13e
child 13 0f07cd1b5772
equal deleted inserted replaced
0:f979ecb2b13e 5:42814f902fe6
  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     }