diff --git a/Source/Modules/SessionCtl_HandleDisplay.swift b/Source/Modules/SessionCtl_HandleDisplay.swift index f1766a1f..26ac2106 100644 --- a/Source/Modules/SessionCtl_HandleDisplay.swift +++ b/Source/Modules/SessionCtl_HandleDisplay.swift @@ -74,7 +74,6 @@ extension SessionCtl { state.isVerticalCandidateWindow = (isVerticalTyping || !PrefMgr.shared.useHorizontalCandidateList) /// 無論是田所選字窗還是 IMK 選字窗,在這裡都有必要重新初期化。 - ctlCandidateCurrent.delegate = nil let candidateLayout: NSUserInterfaceLayoutOrientation = ((isVerticalTyping || !PrefMgr.shared.useHorizontalCandidateList) ? .vertical diff --git a/Source/Modules/SessionCtl_HandleStates.swift b/Source/Modules/SessionCtl_HandleStates.swift index 5d59a82b..289cfc3a 100644 --- a/Source/Modules/SessionCtl_HandleStates.swift +++ b/Source/Modules/SessionCtl_HandleStates.swift @@ -26,7 +26,6 @@ extension SessionCtl { state = newState switch state.type { case .ofDeactivated: - ctlCandidateCurrent.delegate = nil ctlCandidateCurrent.visible = false popupCompositionBuffer.hide() tooltipInstance.hide()