Commit 6a6d8f5e authored by Bruno Coudoin's avatar Bruno Coudoin
Browse files

core, support for local wordset fix2

This fixes a bad commit #e3c54ed3, I skipped the declaration part.
parent e3912335
......@@ -108,8 +108,9 @@ Window {
}
function checkWordset() {
var wordset = ApplicationSettings.wordset
if(ApplicationSettings.wordset == '')
return
wordset = 'data2/words/words.rcc'
// check for words.rcc:
if (DownloadManager.isDataRegistered("words")) {
......@@ -123,7 +124,7 @@ Window {
if(wordset === arguments[0]) {
DownloadManager.resourceRegistered.disconnect(arguments.callee);
// force configuration to use the local wordset
ApplicationSettings.wordset = 'data2/words/words.rcc'
ApplicationSettings.wordset = wordset
}
})
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment