mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-11 19:56:22 +02:00
Qt: fixed mouse focus behaviour of TQtCustomControl. issue #36006,#40615
This commit is contained in:
parent
1898a84c34
commit
eade19d2bd
@ -2119,7 +2119,7 @@ begin
|
||||
else
|
||||
setFocusPolicy(QtNoFocus);
|
||||
end else
|
||||
if (Self is TQtTabWidget) then
|
||||
if (Self is TQtTabWidget) or (Self is TQtCustomControl) then
|
||||
setFocusPolicy(QtTabFocus)
|
||||
else
|
||||
setFocusPolicy(QtClickFocus);
|
||||
|
Loading…
Reference in New Issue
Block a user