mirror of
https://github.com/shadowsocks/ShadowsocksX-NG.git
synced 2026-11-02 16:53:45 +00:00
fix a buid warning
This commit is contained in:
@@ -214,7 +214,7 @@ class PreferencesWindowController: NSWindowController
|
||||
NSLog("bind profile \(index)")
|
||||
|
||||
if index >= 0 && index < profileMgr.profiles.count {
|
||||
editingProfile = profileMgr.profiles[index]
|
||||
let editingProfile = profileMgr.profiles[index]
|
||||
|
||||
hostTextField.bind(NSBindingName(rawValue: "value"), to: editingProfile, withKeyPath: "serverHost"
|
||||
, options: [NSBindingOption.continuouslyUpdatesValue: true])
|
||||
|
||||
Reference in New Issue
Block a user