mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-02-24 04:00:02 +01:00
Changed position of callback(false) call on disabling hook for shift (#4515)
This commit is contained in:
committed by
GitHub
parent
92fa8b7421
commit
cc4864976a
@@ -38,9 +38,9 @@ void ShiftKeyHook::disable()
|
||||
{
|
||||
if (hHook)
|
||||
{
|
||||
callback(false);
|
||||
UnhookWindowsHookEx(hHook);
|
||||
hHook = NULL;
|
||||
callback(false);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user