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
@@ -61,6 +61,8 @@ final class QueueController : NSWindowController, NSWindowDelegate, NSPopoverDel
window?.toolbarStyle = .unified
}
toolbarDelegate.target = self
let toolbar = NSToolbar(identifier: "SublerQueueToolbar")
toolbar.delegate = toolbarDelegate
toolbar.allowsUserCustomization = true