mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-25 19:29:20 +02:00
qt: probably fix tab change by mouse click in TPageControl
git-svn-id: trunk@12142 -
This commit is contained in:
parent
15362cf05c
commit
015e551c12
@ -4495,7 +4495,7 @@ end;
|
||||
procedure TQtTabWidget.setFocusPolicy(const APolicy: QtFocusPolicy);
|
||||
begin
|
||||
inherited setFocusPolicy(APolicy);
|
||||
QWidget_setFocusPolicy(TabBar, QtNoFocus{APolicy});
|
||||
QWidget_setFocusPolicy(TabBar, QtClickFocus);
|
||||
end;
|
||||
|
||||
{------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user