From 6ebca99cd595c08de545d68b0d1696641ebe69c2 Mon Sep 17 00:00:00 2001 From: "andres.delikat" Date: Wed, 23 Feb 2011 18:12:19 +0000 Subject: [PATCH] InputWidget (For Hotkey & Input dialogs) - After key event, automatically tab to the next control. Also, fix so display is "Shift + X" not "Shift+X" --- BizHawk.MultiClient/config/InputWidget.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/BizHawk.MultiClient/config/InputWidget.cs b/BizHawk.MultiClient/config/InputWidget.cs index bd95b56876..9f3f29d987 100644 --- a/BizHawk.MultiClient/config/InputWidget.cs +++ b/BizHawk.MultiClient/config/InputWidget.cs @@ -46,6 +46,7 @@ namespace BizHawk.MultiClient Bindings.Clear(); UpdateLabel(); } + this.Parent.SelectNextControl(this, true, true, true, true); } protected override void OnKeyPress(KeyPressEventArgs e) @@ -85,11 +86,11 @@ namespace BizHawk.MultiClient { string str = ""; if((modifiers & Keys.Shift)!=0) - str += "SHIFT+"; + str += "SHIFT + "; if ((modifiers & Keys.Control) != 0) - str += "CTRL+"; + str += "CTRL + "; if ((modifiers & Keys.Alt) != 0) - str += "ALT+"; + str += "ALT + "; str += key.ToString(); return str; }