mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-11 20:19:14 +02:00
Qt,Qt5,Qt6: fixed focus indication. issue #41562
(cherry picked from commit 33c532e60e
)
Co-authored-by: zeljan1 <zeljko@holobit.hr>
This commit is contained in:
parent
e90c1c6516
commit
6e9f268657
@ -5008,7 +5008,7 @@ end;
|
||||
procedure TQtWidget.setFocus;
|
||||
begin
|
||||
if getFocusPolicy <> QtNoFocus then
|
||||
QWidget_setFocus(Widget, QtOtherFocusReason) {issue #10155}
|
||||
QWidget_setFocus(Widget, QtTabFocusReason) {issue #10155}
|
||||
else
|
||||
QWidget_setFocus(Widget);
|
||||
end;
|
||||
|
@ -5164,7 +5164,7 @@ end;
|
||||
procedure TQtWidget.setFocus;
|
||||
begin
|
||||
if getFocusPolicy <> QtNoFocus then
|
||||
QWidget_setFocus(Widget, QtOtherFocusReason) {issue #10155}
|
||||
QWidget_setFocus(Widget, QtTabFocusReason) {issue #10155}
|
||||
else
|
||||
QWidget_setFocus(Widget);
|
||||
end;
|
||||
|
@ -5168,7 +5168,7 @@ end;
|
||||
procedure TQtWidget.setFocus;
|
||||
begin
|
||||
if getFocusPolicy <> QtNoFocus then
|
||||
QWidget_setFocus(Widget, QtOtherFocusReason) {issue #10155}
|
||||
QWidget_setFocus(Widget, QtTabFocusReason) {issue #10155}
|
||||
else
|
||||
QWidget_setFocus(Widget);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user