Don't enable the offset menu item for the metadata row.
This commit is contained in:
1 parent
6bebe551b0
commit
3c5aef3124
1 file changed
+3
-2
@@ -464,7 +464,7 @@ static NSDictionary *_detailMonospacedAttr;
|
||||
return YES;
|
||||
|
||||
if (action == @selector(saveAndOptimize:))
|
||||
if (!self.documentEdited && (self.mp4).hasFileRepresentation)
|
||||
if (!self.documentEdited && self.mp4.hasFileRepresentation)
|
||||
return YES;
|
||||
|
||||
if (action == @selector(selectMetadataFile:))
|
||||
@@ -488,7 +488,8 @@ static NSDictionary *_detailMonospacedAttr;
|
||||
if (action == @selector(sendToExternalApp:))
|
||||
return YES;
|
||||
|
||||
if (action == @selector(showTrackOffsetSheet:) && self.tracksTable.selectedRowIndexes.count == 1 && self.tracksTable.selectedRow != -1)
|
||||
if (action == @selector(showTrackOffsetSheet:) && self.tracksTable.selectedRowIndexes.count == 1
|
||||
&& self.tracksTable.selectedRow != -1 && self.tracksTable.selectedRow != 0)
|
||||
return YES;
|
||||
|
||||
if (action == @selector(addChaptersEvery:))
|
||||
|
||||
Reference in new issue
Block a user