PrefWindow // Stop rebooting on ticking the 2nd checkbox of the DevZone.

This commit is contained in:
ShikiSuen 2022-08-20 20:51:08 +08:00
parent 53278250b8
commit a834e913a5
2 changed files with 1 additions and 1 deletions

View File

@ -240,6 +240,7 @@ class ctlPrefWindow: NSWindowController {
} }
@IBAction func updateIMKCandidateEnableStatusAction(_: Any) { @IBAction func updateIMKCandidateEnableStatusAction(_: Any) {
NSLog("vChewing App self-terminated due to enabling / disabling IMK candidate window.")
NSApplication.shared.terminate(nil) NSApplication.shared.terminate(nil)
} }

View File

@ -1111,7 +1111,6 @@ Features listed here may not work as expected.</string>
<font key="font" metaFont="cellTitle"/> <font key="font" metaFont="cellTitle"/>
</buttonCell> </buttonCell>
<connections> <connections>
<action selector="updateIMKCandidateEnableStatusAction:" target="-2" id="dAG-Si-cta"/>
<binding destination="32" name="value" keyPath="values.AdjustIMKCandidateWindowLevel" id="E6Z-Rn-IHD"/> <binding destination="32" name="value" keyPath="values.AdjustIMKCandidateWindowLevel" id="E6Z-Rn-IHD"/>
<binding destination="32" name="enabled" keyPath="values.UseIMKCandidateWindow" id="qla-KO-plC"/> <binding destination="32" name="enabled" keyPath="values.UseIMKCandidateWindow" id="qla-KO-plC"/>
</connections> </connections>