Remove OTA in View controller

This commit is contained in:
qinyuhang
2017-02-05 22:44:28 +08:00
parent 27add56b38
commit 467b961162
2 changed files with 0 additions and 8 deletions
@@ -29,8 +29,6 @@ class PreferencesWindowController: NSWindowController
@IBOutlet weak var remarkTextField: NSTextField!
@IBOutlet weak var groupTextField: NSTextField!
@IBOutlet weak var otaCheckBoxBtn: NSButton!
@IBOutlet weak var copyURLBtn: NSButton!
@IBOutlet weak var removeButton: NSButton!
@@ -234,8 +232,6 @@ class PreferencesWindowController: NSWindowController
ObfsParamTextField.bind("value", to: editingProfile, withKeyPath: "ssrObfsParam", options: [NSContinuouslyUpdatesValueBindingOption: true])
groupTextField.bind("value", to: editingProfile, withKeyPath: "ssrGroup", options: [NSContinuouslyUpdatesValueBindingOption: true])
otaCheckBoxBtn.bind("value", to: editingProfile, withKeyPath: "ota"
, options: [NSContinuouslyUpdatesValueBindingOption: true])
} else {
editingProfile = nil
hostTextField.unbind("value")
@@ -251,7 +247,6 @@ class PreferencesWindowController: NSWindowController
remarkTextField.unbind("value")
otaCheckBoxBtn.unbind("value")
}
}
@@ -26,9 +26,6 @@
/* Class = "NSTextFieldCell"; title = "Obfs Param"; ObjectID = "g7c-fW-7J4"; */
"g7c-fW-7J4.title" = "混淆参数:";
/* Class = "NSButtonCell"; title = "Enable OTA"; ObjectID = "hRZ-Rp-I5e"; */
"hRZ-Rp-I5e.title" = "启用 OTA";
/* Class = "NSButtonCell"; title = "Cacnel"; ObjectID = "j03-9E-uHW"; */
"j03-9E-uHW.title" = "取消";