elementary / switchboard-plug-locale

Switchboard Locale Plug
GNU Lesser General Public License v3.0
11 stars 10 forks source link

LocaleView: Fix access to UbuntuInstaller before initialization #209

Closed ryonakano closed 2 months ago

ryonakano commented 2 months ago

Fixes the following message is shown in the terminal when opening the plug:

** (io.elementary.settings:18513): CRITICAL **: 11:32:40.212: switchboard_plug_locale_installer_ubuntu_installer_check_missing_languages: assertion 'self != NULL' failed

This is because we're calling installer.check_missing_languages () before initializing installer variable.