[SYSDM] System Parameters: Close dialog on ESC (#4891)

CORE-18610
This commit is contained in:
Thamatip Chitpong 2022-11-20 00:08:04 +07:00 committed by GitHub
parent f908d37bb3
commit f125cd1c71
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -104,6 +104,10 @@ SysSettingsDlgProc(HWND hwndDlg,
OnOK(hwndDlg); OnOK(hwndDlg);
EndDialog(hwndDlg, 0); EndDialog(hwndDlg, 0);
return TRUE; return TRUE;
case IDCANCEL:
EndDialog(hwndDlg, 0);
return TRUE;
} }
break; break;
} }