mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-11 12:59:11 +02:00
make TPopupNotifier.BidiMode as Application.BidiMode
Just simple logical fix a crash ADragObjectCopy
This commit is contained in:
parent
e727e9f13b
commit
76c95e8c47
@ -261,7 +261,7 @@ begin
|
||||
|
||||
finally
|
||||
//erase global variables (dragging stopped)
|
||||
if ADragObjectCopy.AutoFree then
|
||||
if (ADragObjectCopy <>nil) and ADragObjectCopy.AutoFree then
|
||||
ADragObjectCopy.Free;
|
||||
end;
|
||||
end;
|
||||
|
@ -451,6 +451,8 @@ begin
|
||||
inherited Create(AOwner);
|
||||
|
||||
vNotifierForm := TNotifierForm.Create(nil);
|
||||
if Application <> nil then
|
||||
vNotifierForm.BidiMode := Application.BidiMode;
|
||||
vNotifierForm.Visible := False;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user