Repo // Fix looped crashes with client apps on macOS 10.11-10.13.
This commit is contained in:
parent
84c3e6d274
commit
cd0ea9563a
|
@ -415,12 +415,7 @@ public enum mgrPrefs {
|
|||
// MARK: - Settings (Tier 2)
|
||||
|
||||
@UserDefault(key: UserDef.kUseIMKCandidateWindow.rawValue, defaultValue: false)
|
||||
static var useIMKCandidateWindow: Bool {
|
||||
didSet {
|
||||
NSLog("vChewing App self-terminated due to enabling / disabling IMK candidate window.")
|
||||
NSApplication.shared.terminate(nil)
|
||||
}
|
||||
}
|
||||
static var useIMKCandidateWindow: Bool
|
||||
|
||||
@UserDefault(key: UserDef.kHandleDefaultCandidateFontsByLangIdentifier.rawValue, defaultValue: false)
|
||||
static var handleDefaultCandidateFontsByLangIdentifier: Bool
|
||||
|
|
|
@ -47,6 +47,8 @@ struct suiPrefPaneDevZone: View {
|
|||
LocalizedStringKey("Use IMK Candidate Window instead (will reboot the IME)"),
|
||||
isOn: $selUseIMKCandidateWindow.onChange {
|
||||
mgrPrefs.useIMKCandidateWindow = selUseIMKCandidateWindow
|
||||
NSLog("vChewing App self-terminated due to enabling / disabling IMK candidate window.")
|
||||
NSApplication.shared.terminate(nil)
|
||||
}
|
||||
)
|
||||
Text(LocalizedStringKey("IMK candidate window is plagued with issues and incapabilities."))
|
||||
|
|
Loading…
Reference in New Issue