user-controls: Update OARS menu entries before choosing an updated one

If the user’s locale changes, we need to update the set of entries in
the OARS menu before selecting a new one and updating the label.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
Philip Withnall 2020-03-16 12:10:11 +00:00
parent e9c2f3d054
commit 4698ad88a0
1 changed files with 1 additions and 1 deletions

View File

@ -524,8 +524,8 @@ setup_parental_control_settings (MctUserControls *self)
gtk_widget_set_sensitive (GTK_WIDGET (self), is_authorized);
update_oars_level (self);
update_categories_from_language (self);
update_oars_level (self);
update_allow_app_installation (self);
update_restrict_web_browsers (self);
update_labels_from_name (self);