Revise debug Markdown helper menu action

This commit is contained in:
John Lewin 2018-06-23 10:51:19 -07:00
parent ab8550faf3
commit 9d2fcf9dc5

View file

@ -576,10 +576,13 @@ namespace MatterHackers.MatterControl.PrintLibrary
// edit menu item
menuActions.Add(new PrintItemAction()
{
Title = "MarkDown".Localize(),
Title = "Markdown".Localize(),
Action = (selectedLibraryItems, listView) =>
{
DialogWindow.Show<MarkdownPage>();
UiThread.RunOnIdle(() =>
{
DialogWindow.Show<MarkdownPage>();
});
},
IsEnabled = (selectedListItems, listView) => true
});