Skip to content

Commit

Permalink
Fix key map regression.
Browse files Browse the repository at this point in the history
The call to show the key binding text was obscured by all of the manual
localization. Readd it.
  • Loading branch information
Hoikas committed Mar 3, 2024
1 parent 4fa0340 commit eef5dc6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Scripts/Python/xOptionsMenu.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit eef5dc6

Please sign in to comment.