mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-30 22:30:28 +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,7 +615,7 @@ begin
|
|||||||
Exit;
|
Exit;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
if not Assigned(callback) then callback.MouseUpDownEvent(event);
|
if not Assigned(callback) or not callback.MouseUpDownEvent(event) then
|
||||||
inherited mouseUp(event);
|
inherited mouseUp(event);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user