Wire up the account name for scripting.

This commit is contained in:
Brent Simmons committed 2019-08-02 12:44:24 -07:00
1 parent 5d97e89e91
commit ccd1d4bdc1
2 files changed
+12 -2

No files matched your search

+11 -1
View File
@@ -35,7 +35,17 @@ class ScriptableAccount: NSObject, UniqueIdScriptingObject, ScriptingObjectConta
account.isActive = newValue
}
}
@objc(scriptingName)
var scriptingName: NSString {
get {
return account.nameForDisplay as NSString
}
set {
account.name = newValue as String
}
}
// MARK: --- ScriptingObject protocol ---
var scriptingKey: String {