mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-16 07:09:38 +02:00
Cocoa: fix the callback call for cocoa tabcontrol mouseup event (never happens, but sanity is the best), issue #39731
This commit is contained in:
parent
7ee95e21d0
commit
a1b0518709
@ -615,8 +615,8 @@ begin
|
||||
Exit;
|
||||
end;
|
||||
|
||||
if not Assigned(callback) then callback.MouseUpDownEvent(event);
|
||||
inherited mouseUp(event);
|
||||
if not Assigned(callback) or not callback.MouseUpDownEvent(event) then
|
||||
inherited mouseUp(event);
|
||||
end;
|
||||
|
||||
procedure TCocoaTabControl.rightMouseDown(event: NSEvent);
|
||||
|
Loading…
Reference in New Issue
Block a user