LCL: fixed restoring/showing of minimized+hidden form. issue #20670

git-svn-id: trunk@34004 -
This commit is contained in:
zeljko 2011-12-06 18:18:40 +00:00
parent 2ce9d7f56a
commit b211b79b0b

View File

@ -2113,9 +2113,9 @@ end;
------------------------------------------------------------------------------}
procedure TCustomForm.ShowOnTop;
begin
Visible := True;
if WindowState = wsMinimized then
WindowState := wsNormal;
Visible := True;
BringToFront;
//DebugLn(['TCustomForm.ShowOnTop ',Name,':',ClassName,' ',Visible,' ',HandleAllocated,' ',csDesigning in ComponentState]);
end;