Skip to content

Commit

Permalink
Fix hotkey status
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaex committed Jul 31, 2022
1 parent e7303d4 commit e134ae1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ShareX/HotkeyManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,10 @@ public void RegisterHotkey(HotkeySettings hotkeySetting)
DebugHelper.WriteLine("Hotkey register failed: " + hotkeySetting);
}
}
else
{
hotkeySetting.HotkeyInfo.Status = HotkeyStatus.NotConfigured;
}
}

if (!Hotkeys.Contains(hotkeySetting))
Expand Down

0 comments on commit e134ae1

Please sign in to comment.