misc bug fixes related to default routes

This commit is contained in:
Grant Limberg
2016-06-26 18:18:59 -07:00
parent 1756e8b0f2
commit 3fc11e2278
6 changed files with 57 additions and 33 deletions

View File

@@ -45,6 +45,10 @@ class JoinNetworkViewController: NSViewController, NSComboBoxDelegate, NSComboBo
override func viewWillAppear() {
super.viewWillAppear()
allowManagedCheckBox.state = NSOnState
allowGlobalCheckBox.state = NSOffState
allowDefaultCheckBox.state = NSOffState
let defaults = NSUserDefaults.standardUserDefaults()
let vals = defaults.stringArrayForKey(joinedNetworksKey)