Skip to content

Commit

Permalink
Merge pull request #125 from kmcclive/bugfix/#115-disable-templates
Browse files Browse the repository at this point in the history
#115 Disabled templates during transcode on macOS
  • Loading branch information
kmcclive authored Jun 14, 2021
2 parents 4e7fe55 + 7774440 commit 9f99c72
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Tricycle.UI.macOS/AppDelegate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,11 @@ public override bool OpenFile(NSApplication sender, string filename)
[Action("validateMenuItem:")]
public bool ValidateMenuItem(NSMenuItem item)
{
if (item.ParentItem?.Title == "Templates")
{
return IsTemplateMenuItemValid(item);
}

switch (item.Title)
{
case "Manage…":
Expand Down

0 comments on commit 9f99c72

Please sign in to comment.