Skip to content
Permalink
Browse files

dont handle f10 key in accesskey handler, prevents people using f10 h…

…otkey.
  • Loading branch information...
danwalmsley committed Sep 11, 2019
1 parent 4c557af commit bdca92c16a0748ff67d85a7433fa3ba0e7b87a66
Showing with 0 additions and 9 deletions.
  1. +0 −9 src/Avalonia.Input/AccessKeyHandler.cs
@@ -231,15 +231,6 @@ protected virtual void OnPreviewKeyUp(object sender, KeyEventArgs e)
}

break;

case Key.F10:
_owner.ShowAccessKeys = _showingAccessKeys = true;
if (MainMenu != null)
{
MainMenu.Open();
e.Handled = true;
}
break;
}
}

0 comments on commit bdca92c

Please sign in to comment.
You can’t perform that action at this time.