PrefUI // Reload user lang models on enabling the monitor.
This commit is contained in:
parent
fa32d8ac93
commit
9a3ecba927
|
@ -119,6 +119,9 @@ struct VwrPrefPaneDictionary: View {
|
|||
LocalizedStringKey("Automatically reload user data files if changes detected"),
|
||||
isOn: $selAutoReloadUserData.onChange {
|
||||
PrefMgr.shared.shouldAutoReloadUserDataFiles = selAutoReloadUserData
|
||||
if selAutoReloadUserData {
|
||||
LMMgr.initUserLangModels()
|
||||
}
|
||||
}
|
||||
).controlSize(.small)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue