calendarui/controller/src/calenmultipledbui.cpp
branchRCL_3
changeset 5 42814f902fe6
parent 0 f979ecb2b13e
child 11 0f07cd1b5772
--- a/calendarui/controller/src/calenmultipledbui.cpp	Tue Feb 02 10:12:19 2010 +0200
+++ b/calendarui/controller/src/calenmultipledbui.cpp	Fri Feb 19 22:49:53 2010 +0200
@@ -1347,9 +1347,11 @@
             aEventType == EEventItemSingleClicked )
            {
            const TInt index(iListBox->CurrentItemIndex());
-           if ( index != KErrNotFound )
+           if ( index != KErrNotFound && !iIsDbEditorOpen )
                {
+               iIsDbEditorOpen = ETrue ;
                ProcessCommandL( ECalenCmdEdit );
+               iIsDbEditorOpen = EFalse ;
                }
            }
        }