equal
deleted
inserted
replaced
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(); |