mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 14:09:31 +02:00
Qt: fixed focus policy of TQtTabWidget. issue #23238
git-svn-id: trunk@42455 -
This commit is contained in:
parent
f300bc6edc
commit
c61ea17038
@ -1958,6 +1958,9 @@ begin
|
||||
begin
|
||||
if csNoFocus in LCLObject.ControlStyle then
|
||||
setFocusPolicy(QtNoFocus)
|
||||
else
|
||||
if (Self is TQtTabWidget) then
|
||||
setFocusPolicy(QtTabFocus)
|
||||
else
|
||||
setFocusPolicy(QtClickFocus);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user