mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-01 03:32:34 +02:00
IDE: Fixed ShowForm, broken in rev 44801 #a37ff8d09e
git-svn-id: trunk@45010 -
This commit is contained in:
parent
2515a4ee6a
commit
7e8693d62e
@ -1648,7 +1648,9 @@ begin
|
||||
( (AMoveToVisbleMode = vmOnlyMoveOffScreenToVisible) and
|
||||
(not IsAnyCornerVisible(AForm)) )
|
||||
then
|
||||
AForm.EnsureVisible(true);
|
||||
AForm.EnsureVisible(true)
|
||||
else
|
||||
AForm.ShowOnTop;
|
||||
|
||||
if (csDesigning in AForm.ComponentState) and (AForm.Designer <> nil) then
|
||||
AForm.Visible := ARestoreVisible;
|
||||
@ -1669,7 +1671,9 @@ begin
|
||||
( (AMoveToVisbleMode = vmOnlyMoveOffScreenToVisible) and
|
||||
(not IsAnyCornerVisible(AForm)) )
|
||||
then
|
||||
AForm.EnsureVisible(true);
|
||||
AForm.EnsureVisible(true)
|
||||
else
|
||||
AForm.ShowOnTop;
|
||||
end;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user