mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 11:18:22 +02:00
Refactoring TTaskDialog: prevent possible crash in TLCLTaskDialog.
This commit is contained in:
parent
61fefaa794
commit
916196dede
@ -169,6 +169,8 @@ var
|
||||
mRes, I: Integer;
|
||||
aParent: HWND;
|
||||
begin
|
||||
if not Assigned(FDlg) then
|
||||
Exit(False);
|
||||
SetupControls;
|
||||
|
||||
aParent := FDlg.ParentWindow;
|
||||
|
Loading…
Reference in New Issue
Block a user