Fix locale send, spelllist reload, few changes

This commit is contained in:
Henrique Santiago
2013-02-18 22:18:10 -03:00
parent 67fc77d507
commit 59a5b8115a
6 changed files with 25 additions and 12 deletions

View File

@@ -146,6 +146,9 @@ function setLocale(name)
pwarning("Locale " .. name .. ' does not exist.')
return false
end
if currentLocale then
sendLocale(locale.name)
end
currentLocale = locale
g_settings.set('locale', name)
if onLocaleChanged then onLocaleChanged(name) end