From e03da2bd84c4d74ab127d5f8e3297a8214117e10 Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Sat, 30 Jan 2021 17:43:32 +0100 Subject: [PATCH] Locale Kit: Fix available language enumeration Regression introduced in hrev54910. The list of available languages in FirstBootPrompt would be empty. --- src/kits/locale/LocaleRosterData.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/kits/locale/LocaleRosterData.cpp b/src/kits/locale/LocaleRosterData.cpp index b47d0d1e1d..7853a96391 100644 --- a/src/kits/locale/LocaleRosterData.cpp +++ b/src/kits/locale/LocaleRosterData.cpp @@ -335,6 +335,7 @@ LocaleRosterData::_InitializeCatalogAddOns() if (!defaultCatalogAddOnInfo) return B_NO_MEMORY; + defaultCatalogAddOnInfo->MakeSureItsLoaded(); defaultCatalogAddOnInfo->fInstantiateFunc = DefaultCatalog::Instantiate; defaultCatalogAddOnInfo->fCreateFunc = DefaultCatalog::Create; fCatalogAddOnInfos.AddItem((void*)defaultCatalogAddOnInfo);