Rename presets in preferences.
This commit is contained in:
8 files changed
+70
-27
No files matched your search
@@ -9,7 +9,7 @@ import Foundation
|
||||
|
||||
class QueuePreset: NSObject, Preset {
|
||||
|
||||
let title: String
|
||||
var title: String
|
||||
let options: [String:Any]
|
||||
|
||||
let version: Int
|
||||
@@ -40,4 +40,10 @@ class QueuePreset: NSObject, Preset {
|
||||
fatalError()
|
||||
}
|
||||
|
||||
// MARK: NSCopying
|
||||
|
||||
func copy(with zone: NSZone? = nil) -> Any {
|
||||
return QueuePreset(title: title, options: options)
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user