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