Fixed return of focus to the window after closing the manual editing dialog.

This commit is contained in:
2022-02-19 23:03:53 +03:00
parent 750ac44696
commit 76099356cd

View File

@@ -363,6 +363,7 @@ LRESULT CALLBACK KeyboardHookProc(int nCode, WPARAM wParam, LPARAM lParam)
{
diag_log(L"Opening 'Manual editing' dialog");
DialogBoxW(hInst, MAKEINTRESOURCE(IDD_MANUAL_EDITING), hWnd, (DLGPROC)DlgProc);
SetForegroundWindow(hFgWnd);
}
else hFgWnd = NULL;
bKEYV = FALSE;