LCL: Return a verification check status from Task Dialog. Issue #34199, patch from Serge Anvarov.

git-svn-id: trunk@58855 -
This commit is contained in:
juha 2018-09-04 14:10:53 +00:00
parent 9cdca04078
commit 856eb03c6e

View File

@ -236,6 +236,10 @@ begin
FRadioButton := RadioButtons[TaskDlg.RadioRes-200] as TTaskDialogRadioButtonItem
else
FRadioButton := nil;
if TaskDlg.VerifyChecked then
Include(FFlags, tfVerificationFlagChecked)
else
Exclude(FFlags, tfVerificationFlagChecked)
end;
procedure TCustomTaskDialog.DoOnButtonClicked(AModalResult: Integer;