mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 02:59:21 +02:00
IDE: use MakeFullyVisible
git-svn-id: trunk@41973 -
This commit is contained in:
parent
0b36dae130
commit
95a646d03a
@ -1623,7 +1623,7 @@ begin
|
|||||||
if (csDesigning in AForm.ComponentState) and (AForm.Designer <> nil) then
|
if (csDesigning in AForm.ComponentState) and (AForm.Designer <> nil) then
|
||||||
ARestoreVisible := AForm.Visible;
|
ARestoreVisible := AForm.Visible;
|
||||||
|
|
||||||
AForm.ShowOnTop;
|
AForm.EnsureVisible(true);
|
||||||
|
|
||||||
if (csDesigning in AForm.ComponentState) and (AForm.Designer <> nil) then
|
if (csDesigning in AForm.ComponentState) and (AForm.Designer <> nil) then
|
||||||
AForm.Visible := ARestoreVisible;
|
AForm.Visible := ARestoreVisible;
|
||||||
@ -1640,7 +1640,7 @@ begin
|
|||||||
// issue #19769
|
// issue #19769
|
||||||
if AForm.Visible and not (fsModal in AForm.FormState) then
|
if AForm.Visible and not (fsModal in AForm.FormState) then
|
||||||
AForm.Visible := False;
|
AForm.Visible := False;
|
||||||
AForm.ShowOnTop;
|
AForm.EnsureVisible(true);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user