You've already forked lazarus-ccr
tvplanit: Fix occasional crash of application when alarmdlg is shown. Issue #39043.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8550 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -89,7 +89,7 @@ type
|
||||
published
|
||||
{properties}
|
||||
property BackgroundColor: TColor
|
||||
read FBGColor write FBGColor default clInfoBk;
|
||||
read FBGColor write FBGColor default clWindow;
|
||||
property DataStore;
|
||||
property Placement;
|
||||
end;
|
||||
@ -123,7 +123,7 @@ var
|
||||
AlarmNotifyForm: TAlarmNotifyForm;
|
||||
begin
|
||||
if (Event <> nil) and (not Event.AlertDisplayed) then begin
|
||||
AlarmNotifyForm := TAlarmNotifyForm.Create(Self);
|
||||
AlarmNotifyForm := TAlarmNotifyForm.Create(nil);
|
||||
try
|
||||
try
|
||||
Event.AlertDisplayed := true;
|
||||
|
Reference in New Issue
Block a user