mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 14:11:32 +02:00
Qt: don't touch flags if we are in design time.
git-svn-id: trunk@26624 -
This commit is contained in:
parent
32353ca72a
commit
b06d7701df
@ -412,6 +412,8 @@ begin
|
||||
end;
|
||||
|
||||
Widget.BeginUpdate;
|
||||
if not (csDesigning in AWinControl.ComponentState) then
|
||||
begin
|
||||
if AWinControl.HandleObjectShouldBeVisible
|
||||
and (TCustomForm(AWinControl).FormStyle in fsAllStayOnTop) then
|
||||
begin
|
||||
@ -431,6 +433,7 @@ begin
|
||||
Widget.setWindowFlags(Flags);
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
Widget.setVisible(AWinControl.HandleObjectShouldBeVisible);
|
||||
Widget.EndUpdate;
|
||||
{$IFDEF HASX11}
|
||||
|
Loading…
Reference in New Issue
Block a user