Skip to content

Commit

Permalink
- Fixed: Hotkey wasn't enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
alexis- committed May 7, 2022
1 parent c93c997 commit a9e4c9c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ private void Register(
if (hkData.ActualHotKey != null)
_hotKeyDataMap[hkData.ActualHotKey] = hkData;

if (enabled && defaultHotKey != null && scope != null)
if (enabled && hkData.ActualHotKey != null && scope != null)
_kbHookSvc.RegisterHotKey(hkData.ActualHotKey, callback, scope.Value);

LogTo.Debug("Assigned default hotkey {DefaultHotKey} to {Id} ({Description}).", defaultHotKey, id, description);
Expand Down

0 comments on commit a9e4c9c

Please sign in to comment.