Validate the checkbox in SBFileImporter to make it impossible to add unsupported tracks.
This commit is contained in:
1 parent
6bc3b03923
commit
85290c32ba
1 file changed
+2
@@ -152,6 +152,8 @@
|
||||
[buttonCell setControlSize:NSSmallControlSize];
|
||||
[buttonCell setTitle:@""];
|
||||
|
||||
buttonCell.enabled = (isTrackMuxable(track.format) || trackNeedConversion(track.format)) ? YES : NO;
|
||||
|
||||
return [buttonCell autorelease];
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user