mgrLM // Reload user phrases after in-place-add a phrase, if necessary.
This commit is contained in:
parent
61fadb5467
commit
be30ee2793
|
@ -272,8 +272,10 @@ static void LTLoadLanguageModelFile(NSString *filenameWithoutExtension, vChewing
|
|||
LMConsolidator::ConsolidateContent([path UTF8String], Preferences.shouldAutoSortUserPhrasesAndExclListOnLoad, false);
|
||||
|
||||
// We use FSEventStream to monitor the change of the user phrase folder,
|
||||
// so we don't have to load data here.
|
||||
// [self loadUserPhrases];
|
||||
// so we don't have to load data here unless FSEventStream is disabled by user.
|
||||
if (!Preferences.shouldAutoReloadUserDataFiles) {
|
||||
[self loadUserPhrases];
|
||||
}
|
||||
return YES;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue