InputWidget (For Hotkey & Input dialogs) - After key event, automatically tab to the next control. Also, fix so display is "Shift + X" not "Shift+X"
This commit is contained in:
parent
2de903182d
commit
6ebca99cd5
|
@ -46,6 +46,7 @@ namespace BizHawk.MultiClient
|
||||||
Bindings.Clear();
|
Bindings.Clear();
|
||||||
UpdateLabel();
|
UpdateLabel();
|
||||||
}
|
}
|
||||||
|
this.Parent.SelectNextControl(this, true, true, true, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void OnKeyPress(KeyPressEventArgs e)
|
protected override void OnKeyPress(KeyPressEventArgs e)
|
||||||
|
@ -85,11 +86,11 @@ namespace BizHawk.MultiClient
|
||||||
{
|
{
|
||||||
string str = "";
|
string str = "";
|
||||||
if((modifiers & Keys.Shift)!=0)
|
if((modifiers & Keys.Shift)!=0)
|
||||||
str += "SHIFT+";
|
str += "SHIFT + ";
|
||||||
if ((modifiers & Keys.Control) != 0)
|
if ((modifiers & Keys.Control) != 0)
|
||||||
str += "CTRL+";
|
str += "CTRL + ";
|
||||||
if ((modifiers & Keys.Alt) != 0)
|
if ((modifiers & Keys.Alt) != 0)
|
||||||
str += "ALT+";
|
str += "ALT + ";
|
||||||
str += key.ToString();
|
str += key.ToString();
|
||||||
return str;
|
return str;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue