Disable the export menu item when the track can't be exported.
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -225,7 +225,7 @@ class DocumentWindowController: NSWindowController, TracksViewControllerDelegate
|
||||
return true
|
||||
|
||||
case #selector(export(_:)) where tracksViewController.selectedTracks.isEmpty == false:
|
||||
if let track = tracksViewController.selectedTracks.first, track.isMuxed {
|
||||
if let track = tracksViewController.selectedTracks.first, track.isMuxed, track.canExport {
|
||||
return true
|
||||
} else {
|
||||
return false
|
||||
|
||||
+1
-1
Submodule MP42Foundation updated: 3f0c6c85b6...2321192a5b.
Reference in new issue
Block a user