Skip to content

Commit

Permalink
UI: Fixed remapping shortcuts/bindings not working on Linux/macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
SourMesen committed Aug 2, 2023
1 parent f71d1e5 commit 8e79c08
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions UI/Windows/GetKeyWindow.axaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ public GetKeyWindow(bool allowKeyboardOnly)
_allowKeyboardOnly = allowKeyboardOnly;
HintLabel = ResourceHelper.GetMessage(_allowKeyboardOnly ? "SetKeyHint" : "SetKeyMouseHint");

//Required for keyboard input to work properly in Linux/macOS
this.Focusable = true;

InitializeComponent();

lblCurrentKey = this.GetControl<TextBlock>("lblCurrentKey");
Expand Down

0 comments on commit 8e79c08

Please sign in to comment.