mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 08:59:32 +02:00
Qt: do not send focus message if parent form is not visible in LCL. issue #31041
git-svn-id: trunk@53490 -
This commit is contained in:
parent
b7fd88403c
commit
7fecd361fc
@ -1184,7 +1184,11 @@ begin
|
||||
end;
|
||||
|
||||
end else
|
||||
NewWidget.DeliverMessage(Msg);
|
||||
begin
|
||||
if Assigned(NewWidget.LCLObject) and (GetParentForm(NewWidget.LCLObject) <> nil) and
|
||||
GetParentForm(NewWidget.LCLObject).Visible then
|
||||
NewWidget.DeliverMessage(Msg);
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user