diff --git a/Base.lproj/MainMenu.xib b/Base.lproj/MainMenu.xib index dc77298..ee18e74 100755 --- a/Base.lproj/MainMenu.xib +++ b/Base.lproj/MainMenu.xib @@ -1,8 +1,8 @@ - + - + @@ -316,12 +316,18 @@ - + + + + + + + diff --git a/Base.lproj/SBDocument.xib b/Base.lproj/SBDocument.xib index 4f90254..22cd4fb 100755 --- a/Base.lproj/SBDocument.xib +++ b/Base.lproj/SBDocument.xib @@ -402,7 +402,7 @@ - + @@ -457,12 +457,18 @@ - + + + + + + + @@ -548,36 +554,24 @@ Gw - - - - - - - - - - - - + + - - - + + - - + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Classes/SBDocument.m b/Classes/SBDocument.m index 78e53a9..2a55d6a 100644 --- a/Classes/SBDocument.m +++ b/Classes/SBDocument.m @@ -461,6 +461,9 @@ static NSDictionary *_detailMonospacedAttr; if (action == @selector(iTunesFriendlyTrackGroups:)) return YES; + if (action == @selector(clearTracksNames:)) + return YES; + if (action == @selector(fixAudioFallbacks:)) return YES; @@ -1074,6 +1077,15 @@ static NSDictionary *_detailMonospacedAttr; [self updateChangeCount:NSChangeDone]; } +- (IBAction)clearTracksNames:(id)sender +{ + for (MP42Track *track in self.mp4.tracks) { + track.name = @""; + } + [self.tracksTable reloadData]; + [self updateChangeCount:NSChangeDone]; +} + - (IBAction)fixAudioFallbacks:(id)sender { [self.mp4 setAutoFallback]; [self.tracksTable reloadData];