Fix queue toolbar items validation
This commit is contained in:
2 files changed
+7
-2
No files matched your search
@@ -227,7 +227,8 @@ final class DocumentWindowController: NSWindowController, TracksViewControllerDe
|
||||
#selector(iTunesFriendlyTrackGroups(_:)),
|
||||
#selector(clearTrackNames(_:)),
|
||||
#selector(prettifyAudioTrackNames(_:)),
|
||||
#selector(fixAudioFallbacks(_:)):
|
||||
#selector(fixAudioFallbacks(_:)),
|
||||
#selector(sendToQueue(_:)):
|
||||
return true
|
||||
|
||||
case #selector(sendToExternalApp(_:)) where mp4.hasFileRepresentation && doc.isDocumentEdited == false:
|
||||
@@ -288,6 +289,10 @@ final class DocumentWindowController: NSWindowController, TracksViewControllerDe
|
||||
|
||||
// MARK: Actions
|
||||
|
||||
@IBAction func sendToQueue(_ sender: Any) {
|
||||
doc.sendToQueue(self)
|
||||
}
|
||||
|
||||
@IBAction func sendToExternalApp(_ sender: Any) {
|
||||
if let fileURL = doc.fileURL {
|
||||
_ = sendToFileExternalApp(fileURL: fileURL)
|
||||
|
||||
Reference in new issue
Block a user