mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-02 23:38:12 +02:00
Qt: fixed result of TQtWidgetSet.SetFocus(), in case when handle param is invalid.
git-svn-id: trunk@27379 -
This commit is contained in:
parent
f8823dc2ea
commit
6f8a1be510
@ -4818,6 +4818,7 @@ end;
|
||||
------------------------------------------------------------------------------}
|
||||
function TQtWidgetSet.SetFocus(hWnd: HWND): HWND;
|
||||
begin
|
||||
Result := 0;
|
||||
if hwnd<>0 then
|
||||
begin
|
||||
{$ifdef VerboseFocus}
|
||||
|
Loading…
Reference in New Issue
Block a user