From 196e48ddd086df2f4d769614ff18f0febe1b462c Mon Sep 17 00:00:00 2001 From: Charlie Qiu Date: Fri, 20 Jan 2017 00:07:52 +0800 Subject: [PATCH] Disable toggle ss on/off by shortcut. Current hard coded shortcut is frequently-used in other softwares. --- ShadowsocksX-NG/AppDelegate.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ShadowsocksX-NG/AppDelegate.swift b/ShadowsocksX-NG/AppDelegate.swift index 91bb249..6f1091f 100755 --- a/ShadowsocksX-NG/AppDelegate.swift +++ b/ShadowsocksX-NG/AppDelegate.swift @@ -244,7 +244,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSUserNotificationCenterDele // MARK: - Hotkey Methods func registerHotkey() -> Void { registerEventHotKey(keyCode: UInt32(keyCodeP)) // to toggle PAC and Global Mode - registerEventHotKey(keyCode: UInt32(keyCodeS)) // to toggle SS on or off +// registerEventHotKey(keyCode: UInt32(keyCodeS)) // to toggle SS on or off registerEventHandler() }