Refactor the document window controller and the prefs controller. Some regression still in there.

This commit is contained in:
Damiano Galassi committed 2018-02-08 17:50:39 +01:00
1 parent cd27e2ce52
commit 94f5f85124
49 files changed
+2505 -2379

No files matched your search

@@ -9,11 +9,11 @@ import Cocoa
class MultiSelectViewController : NSViewController {
@objc var numberOfTracks: UInt = 0
var numberOfTracks: UInt = 0
@IBOutlet var label: NSTextField!
override func loadView() {
super.loadView()
override func viewDidLoad() {
super.viewDidLoad()
if numberOfTracks == 1 {
label.stringValue = NSLocalizedString("1 track selected", comment: "")