Validate the checkbox in SBFileImporter to make it impossible to add unsupported tracks.

This commit is contained in:
Damiano Galassi committed 2014-12-14 09:44:58 +01:00
1 parent 6bc3b03923
commit 85290c32ba
1 file changed
+2
+2
View File
@@ -152,6 +152,8 @@
[buttonCell setControlSize:NSSmallControlSize];
[buttonCell setTitle:@""];
buttonCell.enabled = (isTrackMuxable(track.format) || trackNeedConversion(track.format)) ? YES : NO;
return [buttonCell autorelease];
}