mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-10 12:39:31 +02:00
Qt: simplified check for visibility.
git-svn-id: trunk@53681 -
This commit is contained in:
parent
224ed6f8cb
commit
363c3e9e88
@ -1211,8 +1211,7 @@ begin
|
||||
|
||||
end else
|
||||
begin
|
||||
if Assigned(NewWidget.LCLObject) and (GetParentForm(NewWidget.LCLObject) <> nil) and
|
||||
GetParentForm(NewWidget.LCLObject).Visible then
|
||||
if Assigned(NewWidget.LCLObject) and NewWidget.LCLObject.IsVisible then
|
||||
NewWidget.DeliverMessage(Msg);
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user