calendarui/caleneditor/src/caleneditorrepeatfield.cpp
changeset 49 5de72ea7a065
parent 26 a949c2543c15
child 50 579cc610882e
equal deleted inserted replaced
37:360d55486d7f 49:5de72ea7a065
   431 /*!
   431 /*!
   432 	Updates the repeat choices depending on the meeting duration
   432 	Updates the repeat choices depending on the meeting duration
   433 */
   433 */
   434 void CalenEditorRepeatField::updateRepeatChoices()
   434 void CalenEditorRepeatField::updateRepeatChoices()
   435 {
   435 {
       
   436     if (!mRepeatComboBox) {
       
   437         return;
       
   438     }
   436 	// Clear all the choices and add it again. If we dont do it 
   439 	// Clear all the choices and add it again. If we dont do it 
   437 	// as user would have changed the end times many times and we would have
   440 	// as user would have changed the end times many times and we would have
   438 	// deleted repeat options depending upon that
   441 	// deleted repeat options depending upon that
   439 	// Get the current choice
   442 	// Get the current choice
   440 	int choice = mRepeatComboBox->currentIndex();
   443 	int choice = mRepeatComboBox->currentIndex();