date-chooser: Update combined-choice on date changes

Otherwise the header will not reflect the active date.

https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/876
This commit is contained in:
Florian Müllner
2022-10-05 14:59:22 +00:00
committed by Georges Basile Stavracas Neto
parent 363918dd38
commit 80d803d125
+1
View File
@@ -473,6 +473,7 @@ gcal_date_chooser_set_date (GcalView *view,
{
gcal_multi_choice_set_value (GCAL_MULTI_CHOICE (self->year_choice), y2);
gcal_multi_choice_set_value (GCAL_MULTI_CHOICE (self->month_choice), m2 - 1);
gcal_multi_choice_set_value (GCAL_MULTI_CHOICE (self->combined_choice), y2 * 12 + m2 - 1);
calendar_compute_days (self);
gcal_timeline_subscriber_range_changed (GCAL_TIMELINE_SUBSCRIBER (self));
}