Set toolbar items target

This commit is contained in:
Damiano Galassi committed 2025-03-10 11:01:03 +01:00
1 parent 8071145c7f
commit ae2addbac4
5 files changed
+19 -2

No files matched your search

+2
View File
@@ -43,6 +43,8 @@ final class DocumentWindowController: NSWindowController, TracksViewControllerDe
window.toolbarStyle = .expanded
}
toolbarDelegate.target = self
let toolbar = NSToolbar(identifier: "SublerDocumentToolbar")
toolbar.delegate = toolbarDelegate
toolbar.allowsUserCustomization = true