mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-28 13:20:18 +02:00
(Qt): Fix workaround for TCustomPage->mouseGrab().
git-svn-id: trunk@11682 -
This commit is contained in:
parent
a8aec5de63
commit
04d0286c73
@ -3909,9 +3909,9 @@ begin
|
||||
begin
|
||||
{TODO: freezing workaround, ttabsheet kills mouse at all (X & app),
|
||||
when we click onto empty tabsheet.
|
||||
don't know for others , so it's ifdef-ed}
|
||||
don't know for others , so it's ifdef-ed for linux}
|
||||
{$ifdef linux}
|
||||
if not (TQtWidget(AHandle).LCLObject is TTabSheet) then
|
||||
if not (TQtWidget(AHandle).LCLObject.InheritsFrom(TCustomPage)) then
|
||||
{$endif}
|
||||
TQtWidget(AHandle).grabMouse();
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user