mirror of
https://github.com/qinyuhang/ShadowsocksX-NG-R.git
synced 2026-11-01 23:40:06 +00:00
Bugfix use a singleton ServerProfileManager
This commit is contained in:
@@ -36,7 +36,7 @@ class PreferencesWindowController: NSWindowController
|
||||
|
||||
// Implement this method to handle any initialization after your window controller's window has been loaded from its nib file.
|
||||
defaults = NSUserDefaults.standardUserDefaults()
|
||||
profileMgr = ServerProfileManager()
|
||||
profileMgr = ServerProfileManager.instance
|
||||
|
||||
methodTextField.addItemsWithObjectValues([
|
||||
"aes-128-cfb",
|
||||
|
||||
Reference in New Issue
Block a user