mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-24 21:48:33 +02:00
qt: add verbose define VerboseTabbedControls to check controls that get focus by Tab reason (qt reason not LCL)
git-svn-id: trunk@12272 -
This commit is contained in:
parent
283d4b2223
commit
3944285bc5
@ -249,6 +249,9 @@ begin
|
||||
if QWidget_focusPolicy(QWidgetH(Sender)) = QtTabFocus then
|
||||
begin
|
||||
// remove tab from focus policy
|
||||
{$ifdef VerboseTabbedControls}
|
||||
WriteLn('found Taabed widget ', PtrInt(Sender));
|
||||
{$endif}
|
||||
QWidget_setFocusPolicy(QWidgetH(Sender), QtClickFocus);
|
||||
QWidget_setFocus(FOldFocusWidget);
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user