Merge branch 'zaher-fixes' into 'main'

make TPopupNotifier.BidiMode as Application.BidiMode

See merge request freepascal.org/lazarus/lazarus!83
This commit is contained in:
Juha Manninen 2022-03-23 09:15:29 +00:00
commit 8d60667e33
2 changed files with 3 additions and 1 deletions

View File

@ -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;

View File

@ -451,6 +451,8 @@ begin
inherited Create(AOwner);
vNotifierForm := TNotifierForm.Create(nil);
if Application <> nil then
vNotifierForm.BidiMode := Application.BidiMode;
vNotifierForm.Visible := False;
end;