From 122c48289afc82677d8979c80febefd3767b5a7a Mon Sep 17 00:00:00 2001 From: adelikat Date: Wed, 7 Nov 2012 13:31:38 +0000 Subject: [PATCH] New Controller Config - fix bug where bindings were losing input and failing to save --- .../config/ControllerConfig/ControllerConfigPanel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BizHawk.MultiClient/config/ControllerConfig/ControllerConfigPanel.cs b/BizHawk.MultiClient/config/ControllerConfig/ControllerConfigPanel.cs index 4b0545a280..fffbd24d81 100644 --- a/BizHawk.MultiClient/config/ControllerConfig/ControllerConfigPanel.cs +++ b/BizHawk.MultiClient/config/ControllerConfig/ControllerConfigPanel.cs @@ -78,7 +78,7 @@ namespace BizHawk.MultiClient { FieldInfo buttonF = ControllerConfigObject.GetType().GetField(buttons[button]); object field = ControllerConfigObject.GetType().GetField(buttons[button]).GetValue(ControllerConfigObject); - Inputs[button].Text = field.ToString(); + Inputs[button].SetBindings(field.ToString()); } }