Reset // Re-Enable the LoadLangModels in AppDelegate.
- This can avoid some random issues like a core language model gets loaded in wrong mode, etc.
This commit is contained in:
parent
2f4ab76c3c
commit
f8b50b472b
|
@ -170,6 +170,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, ctlNonModalAlertWindowDelega
|
||||||
|
|
||||||
func applicationDidFinishLaunching(_ notification: Notification) {
|
func applicationDidFinishLaunching(_ notification: Notification) {
|
||||||
mgrLangModel.setupDataModelValueConverter()
|
mgrLangModel.setupDataModelValueConverter()
|
||||||
|
mgrLangModel.loadDataModels() // 這句還是不要砍了。
|
||||||
mgrLangModel.loadUserPhrases()
|
mgrLangModel.loadUserPhrases()
|
||||||
mgrLangModel.loadUserPhraseReplacement()
|
mgrLangModel.loadUserPhraseReplacement()
|
||||||
fsStreamHelper.delegate = self
|
fsStreamHelper.delegate = self
|
||||||
|
|
Loading…
Reference in New Issue