calendarui/caleneditor/src/caleneditorrepeatfield.cpp
changeset 49 5de72ea7a065
parent 26 a949c2543c15
child 50 579cc610882e
--- a/calendarui/caleneditor/src/caleneditorrepeatfield.cpp	Fri Jun 11 13:37:54 2010 +0300
+++ b/calendarui/caleneditor/src/caleneditorrepeatfield.cpp	Wed Jun 23 18:11:28 2010 +0300
@@ -433,6 +433,9 @@
 */
 void CalenEditorRepeatField::updateRepeatChoices()
 {
+    if (!mRepeatComboBox) {
+        return;
+    }
 	// Clear all the choices and add it again. If we dont do it 
 	// as user would have changed the end times many times and we would have
 	// deleted repeat options depending upon that