diff options
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/nsChromeRegistryChrome.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/nsChromeRegistryChrome.cpp b/chrome/nsChromeRegistryChrome.cpp index 7678183fd3..2037e23d55 100644 --- a/chrome/nsChromeRegistryChrome.cpp +++ b/chrome/nsChromeRegistryChrome.cpp @@ -25,6 +25,7 @@ #include "mozilla/LookAndFeel.h" #include "mozilla/Unused.h" +#include "mozilla/intl/LocaleService.h" #include "nsICommandLine.h" #include "nsILocaleService.h" @@ -385,6 +386,7 @@ nsresult nsChromeRegistryChrome::UpdateSelectedLocale() NS_ASSERTION(obsSvc, "Couldn't get observer service."); obsSvc->NotifyObservers((nsIChromeRegistry*) this, "selected-locale-has-changed", nullptr); + mozilla::intl::LocaleService::GetInstance()->Refresh(); } } |