BDisp пре 5 година
родитељ
комит
edac4b3d19
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      Terminal.Gui/Views/Button.cs

+ 1 - 1
Terminal.Gui/Views/Button.cs

@@ -153,7 +153,7 @@ namespace Terminal.Gui {
 
 
 		bool CheckKey (KeyEvent key)
 		bool CheckKey (KeyEvent key)
 		{
 		{
-			if (key.Key == HotKey) {
+			if (key.Key == (Key.AltMask | HotKey)) {
 				this.SuperView.SetFocus (this);
 				this.SuperView.SetFocus (this);
 				Clicked?.Invoke ();
 				Clicked?.Invoke ();
 				return true;
 				return true;