From eef5dc611a81bb1468f76fd0d560227bfbb4dc13 Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Sun, 3 Mar 2024 16:58:06 -0500 Subject: [PATCH] Fix key map regression. The call to show the key binding text was obscured by all of the manual localization. Readd it. --- Scripts/Python/xOptionsMenu.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Scripts/Python/xOptionsMenu.py b/Scripts/Python/xOptionsMenu.py index de0bb0484b..eee1a991f2 100644 --- a/Scripts/Python/xOptionsMenu.py +++ b/Scripts/Python/xOptionsMenu.py @@ -695,6 +695,9 @@ def OnGUINotify(self,id,control,event): elif id == KeyMapDlg.id: if event == kDialogLoaded: pass + elif event == kShowHide: + if control.isEnabled(): + self.IShowMappedKeys(control, gKM1ControlCodesRow1, gKM1ControlCodesRow2) elif event == kAction or event == kValueChanged: kmID = control.getTagID() if kmID == kKMOkBtn: