edit-dialog: set correct value for repeat_combo
repeat_combo was assigned a value after repeat_duration combo was assigned a value, which changed the value of the repeat_duration combo due to the repeat_option_changed function. This patch fixes this issue by assigning the value to repeat_combo prior to repeat_duration_combo. https://bugzilla.gnome.org/show_bug.cgi?id=782755
This commit is contained in:
committed by
Georges Basile Stavracas Neto
parent
22fca75548
commit
a22bec6de3
@@ -1288,8 +1288,8 @@ gcal_edit_dialog_set_event (GcalEditDialog *dialog,
|
||||
frequency = recur ? recur->frequency : GCAL_RECURRENCE_NO_REPEAT;
|
||||
limit_type = recur ? recur->limit_type : GCAL_RECURRENCE_FOREVER;
|
||||
|
||||
gtk_combo_box_set_active (GTK_COMBO_BOX (dialog->repeat_duration_combo), limit_type);
|
||||
gtk_combo_box_set_active (GTK_COMBO_BOX (dialog->repeat_combo), frequency);
|
||||
gtk_combo_box_set_active (GTK_COMBO_BOX (dialog->repeat_duration_combo), limit_type);
|
||||
|
||||
if (frequency == GCAL_RECURRENCE_NO_REPEAT)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user