Fix hotkey dialog so that hotkeys update upon clicking the save button
This commit is contained in:
parent
5d2fbba8e7
commit
ee017e1e34
|
@ -319,6 +319,11 @@ namespace BizHawk.MultiClient
|
|||
{
|
||||
BizHawk.MultiClient.tools.HotkeyWindow h = new BizHawk.MultiClient.tools.HotkeyWindow();
|
||||
h.ShowDialog();
|
||||
if (h.DialogResult == DialogResult.OK)
|
||||
{
|
||||
InitControls();
|
||||
SyncControls();
|
||||
}
|
||||
}
|
||||
|
||||
private void displayFPSToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
|
|
|
@ -111,7 +111,7 @@ namespace BizHawk.MultiClient.tools
|
|||
Global.Config.SelectSlot8 = IDW_ST8.Text;
|
||||
Global.Config.SelectSlot9 = IDW_ST9.Text;
|
||||
Global.Config.ToolBox = IDW_TOOLBOX.Text;
|
||||
|
||||
this.DialogResult = DialogResult.OK;
|
||||
this.Close();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue