Avoid enabling unsupported tracks in the file import sheet.
This commit is contained in:
1 parent
26fd906857
commit
c16ec2dc02
1 file changed
+5
-1
@@ -374,7 +374,11 @@
|
||||
}
|
||||
|
||||
[selection enumerateIndexesUsingBlock:^(NSUInteger idx, BOOL *stop) {
|
||||
self->_importCheckArray[idx] = @(value);
|
||||
MP42Track *track = self->_tracks[idx];
|
||||
if ([track isKindOfClass:[MP42Track class]] &&
|
||||
(isTrackMuxable(track.format) || trackNeedConversion(track.format))) {
|
||||
self->_importCheckArray[idx] = @(value);
|
||||
}
|
||||
}];
|
||||
|
||||
[tracksTableView reloadDataForRowIndexes:selection columnIndexes:[NSIndexSet indexSetWithIndex:0]];
|
||||
|
||||
Reference in new issue
Block a user