You've already forked CEF4Delphi
mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2025-11-23 21:34:53 +02:00
Only call ShowX11Message when the display server is X11
Some checks failed
Make / build (ubuntu-latest) (push) Has been cancelled
Some checks failed
Make / build (ubuntu-latest) (push) Has been cancelled
This commit is contained in:
@@ -3484,7 +3484,8 @@ begin
|
||||
if (WidgetSet <> nil) then
|
||||
Application.MessageBox(PChar(aError + #0), PChar('Error' + #0), MB_ICONERROR or MB_OK)
|
||||
else
|
||||
ShowX11Message(aError);
|
||||
if (DisplayServer = ldsX11) then
|
||||
ShowX11Message(aError);
|
||||
{$ELSE}
|
||||
// TO-DO: Find a way to show message boxes in FMXLinux
|
||||
{$ENDIF}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"UpdateLazPackages" : [
|
||||
{
|
||||
"ForceNotify" : true,
|
||||
"InternalVersion" : 813,
|
||||
"InternalVersion" : 814,
|
||||
"Name" : "cef4delphi_lazarus.lpk",
|
||||
"Version" : "141.0.11"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user