Pref // Bind Options to IMController.
- At this moment we let the IME always automatically load the changes. Fingerprint-based conditioning will be implemented later.
This commit is contained in:
parent
e68d02833d
commit
8ea5265bd1
|
@ -190,6 +190,11 @@ static double FindHighestScore(const vector<NodeAnchor>& nodes, double epsilon)
|
||||||
NSString *basisKeyboardLayoutID = Preferences.basisKeyboardLayout;
|
NSString *basisKeyboardLayoutID = Preferences.basisKeyboardLayout;
|
||||||
[client overrideKeyboardWithKeyboardNamed:basisKeyboardLayoutID];
|
[client overrideKeyboardWithKeyboardNamed:basisKeyboardLayoutID];
|
||||||
|
|
||||||
|
// Load UserPhrases // 這裡今後需要改造成「驗證檔案指紋、根據驗證結果判定是否需要重新讀入」的形式。
|
||||||
|
if (Preferences.shouldAutoReloadUserDataFiles) {
|
||||||
|
[self reloadUserPhrases:(id)nil];
|
||||||
|
}
|
||||||
|
|
||||||
// reset the state
|
// reset the state
|
||||||
_currentDeferredClient = nil;
|
_currentDeferredClient = nil;
|
||||||
_currentCandidateClient = nil;
|
_currentCandidateClient = nil;
|
||||||
|
|
Loading…
Reference in New Issue