Bindings UI

This commit is contained in:
Serge
2024-01-26 21:23:22 +01:00
parent fb33f426d3
commit b5e160bc00
3 changed files with 162 additions and 158 deletions

View File

@@ -146,14 +146,16 @@ namespace GHelper
if (sender is null) return;
RButton button = (RButton)sender;
labelBinding.Text = "Binding: " + label;
panelBinding.Visible = true;
activeButton = button;
activeBinding = binding;
labelBinding.Text = "Binding: " + label;
SetComboValue(comboPrimary, AppConfig.GetString("bind_" + binding, ""));
SetComboValue(comboSecondary, AppConfig.GetString("bind2_" + binding, ""));
panelBinding.Visible = true;
activeButton = button;
}