Refactoring TTaskDialog: prevent possible crash in TLCLTaskDialog.

This commit is contained in:
Bart 2023-07-19 18:53:23 +02:00
parent 61fefaa794
commit 916196dede

View File

@ -169,6 +169,8 @@ var
mRes, I: Integer;
aParent: HWND;
begin
if not Assigned(FDlg) then
Exit(False);
SetupControls;
aParent := FDlg.ParentWindow;