mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-11 15:36:31 +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
|
||||
ARestoreVisible := AForm.Visible;
|
||||
|
||||
AForm.ShowOnTop;
|
||||
AForm.EnsureVisible(true);
|
||||
|
||||
if (csDesigning in AForm.ComponentState) and (AForm.Designer <> nil) then
|
||||
AForm.Visible := ARestoreVisible;
|
||||
@ -1640,7 +1640,7 @@ begin
|
||||
// issue #19769
|
||||
if AForm.Visible and not (fsModal in AForm.FormState) then
|
||||
AForm.Visible := False;
|
||||
AForm.ShowOnTop;
|
||||
AForm.EnsureVisible(true);
|
||||
end;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user