--- a/calendarui/caleneditor/src/caleneditor.cpp Mon May 03 12:30:32 2010 +0300
+++ b/calendarui/caleneditor/src/caleneditor.cpp Mon Jun 28 15:22:02 2010 +0530
@@ -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);
}