Set the action of the new preset button.

This commit is contained in:
Damiano Galassi committed 2018-04-13 15:55:28 +02:00
1 parent 08a5ba1109
commit 844d57c0d0
3 files changed
+23 -3

No files matched your search

+4
View File
@@ -20,6 +20,10 @@ import Foundation
let version: Int
var changed: Bool
convenience init(title: String) {
self.init(title: title, metadata: MP42Metadata(), replaceArtworks: true, replaceAnnotations: true)
}
init(title: String, metadata: MP42Metadata, replaceArtworks: Bool, replaceAnnotations: Bool) {
self.title = title
self.metadata = metadata.copy() as! MP42Metadata