From a834e913a593091b3d5580dbd3b9c8a7063093c0 Mon Sep 17 00:00:00 2001
From: ShikiSuen <3164826+ShikiSuen@users.noreply.github.com>
Date: Sat, 20 Aug 2022 20:51:08 +0800
Subject: [PATCH] PrefWindow // Stop rebooting on ticking the 2nd checkbox of
the DevZone.
---
Source/WindowControllers/ctlPrefWindow.swift | 1 +
Source/WindowNIBs/Base.lproj/frmPrefWindow.xib | 1 -
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/Source/WindowControllers/ctlPrefWindow.swift b/Source/WindowControllers/ctlPrefWindow.swift
index 26decb55..161ed061 100644
--- a/Source/WindowControllers/ctlPrefWindow.swift
+++ b/Source/WindowControllers/ctlPrefWindow.swift
@@ -240,6 +240,7 @@ class ctlPrefWindow: NSWindowController {
}
@IBAction func updateIMKCandidateEnableStatusAction(_: Any) {
+ NSLog("vChewing App self-terminated due to enabling / disabling IMK candidate window.")
NSApplication.shared.terminate(nil)
}
diff --git a/Source/WindowNIBs/Base.lproj/frmPrefWindow.xib b/Source/WindowNIBs/Base.lproj/frmPrefWindow.xib
index 5d59da3c..26169615 100644
--- a/Source/WindowNIBs/Base.lproj/frmPrefWindow.xib
+++ b/Source/WindowNIBs/Base.lproj/frmPrefWindow.xib
@@ -1111,7 +1111,6 @@ Features listed here may not work as expected.
-