Implemented key binding management window.
[VesselSimulator.git] / KerbalEngineer / KeyBinding / KeyBindPopup.cs
blob:a/KerbalEngineer/KeyBinding/KeyBindPopup.cs -> blob:b/KerbalEngineer/KeyBinding/KeyBindPopup.cs
--- a/KerbalEngineer/KeyBinding/KeyBindPopup.cs
+++ b/KerbalEngineer/KeyBinding/KeyBindPopup.cs
@@ -179,6 +179,10 @@
             GUILayout.BeginVertical(HighLogic.Skin.textArea);
             GUILayout.Label("Key Bind: " + Name);
             GUILayout.Label("Selected: " + Binding);
+            if (GUILayout.Button("Clear", HighLogic.Skin.button))
+            {
+                Binding = KeyCode.None;
+            }
             GUILayout.EndVertical();
 
             // Window buttons.