diff --git a/Terminal.Gui/Views/Menu/MenuItem.cs b/Terminal.Gui/Views/Menu/MenuItem.cs index 7cd5d2ac5..5743c4768 100644 --- a/Terminal.Gui/Views/Menu/MenuItem.cs +++ b/Terminal.Gui/Views/Menu/MenuItem.cs @@ -154,10 +154,10 @@ public class MenuItem : 0); // Pad two spaces before shortcut tag (which are also aligned right) /// Merely a debugging aid to see the interaction with main. - public bool GetMenuBarItem () { return IsFromSubMenu; } + internal bool GetMenuBarItem () { return IsFromSubMenu; } /// Merely a debugging aid to see the interaction with main. - public MenuItem GetMenuItem () { return this; } + internal MenuItem GetMenuItem () { return this; } /// /// Returns if the menu item is enabled. This method is a wrapper around @@ -217,7 +217,6 @@ public class MenuItem /// See also which enable global key-bindings to menu items. /// public Rune HotKey { get; set; } - private void GetHotKey () { var nextIsHot = false; @@ -271,4 +270,4 @@ public class MenuItem : Key.ToString (_shortcutHelper.Shortcut, MenuBar.ShortcutDelimiter); #endregion Keyboard Handling -} \ No newline at end of file +}