A dirty workaround to fix issue 161, a better solution would be cleaner but this works for now
This commit is contained in:
parent
09793ae9dc
commit
2661fe08c0
|
@ -43,6 +43,10 @@ namespace BizHawk.Client.EmuHawk
|
||||||
private ControllerConfig()
|
private ControllerConfig()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
Closing += (o, e) =>
|
||||||
|
{
|
||||||
|
buttonOK.Focus(); // A very dirty hack to avoid https://code.google.com/p/bizhawk/issues/detail?id=161
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
private delegate Control PanelCreator<T>(Dictionary<string, T> settings, List<string> buttons, Size size);
|
private delegate Control PanelCreator<T>(Dictionary<string, T> settings, List<string> buttons, Size size);
|
||||||
|
|
|
@ -13,6 +13,11 @@ namespace BizHawk.Client.EmuHawk
|
||||||
public HotkeyConfig()
|
public HotkeyConfig()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
|
||||||
|
Closing += (o, e) =>
|
||||||
|
{
|
||||||
|
IDB_SAVE.Focus(); // A very dirty hack to avoid https://code.google.com/p/bizhawk/issues/detail?id=161
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
private void NewHotkeyWindow_Load(object sender, EventArgs e)
|
private void NewHotkeyWindow_Load(object sender, EventArgs e)
|
||||||
|
|
Loading…
Reference in New Issue