Bugfix use a singleton ServerProfileManager

This commit is contained in:
C.S
2016-06-23 10:07:26 +08:00
parent 78bb0b7d32
commit 94e065ea63
4 changed files with 9 additions and 8 deletions
@@ -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",