diff -r 5de72ea7a065 -r 579cc610882e calendarui/caleneditor/src/caleneditor.cpp --- a/calendarui/caleneditor/src/caleneditor.cpp Wed Jun 23 18:11:28 2010 +0300 +++ b/calendarui/caleneditor/src/caleneditor.cpp Tue Jul 06 14:14:56 2010 +0300 @@ -81,6 +81,9 @@ */ void CalenEditor::edit(AgendaEntry entry, bool launchCalendar) { + if(entry.isNull()) { + return; + } d_ptr->edit(entry, launchCalendar); } @@ -118,6 +121,9 @@ void CalenEditor::create(AgendaEntry entry, bool launchCalendar, CalenEditor::CreateType type) { + if(entry.isNull()) { + return; + } d_ptr->create(type, entry, launchCalendar); }