fix compile with lazarus v0.9.25 r13922M

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@333 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
alexs75
2008-01-30 12:52:56 +00:00
parent b46d30d9bb
commit dc54158a3e

View File

@ -442,11 +442,11 @@ end;
procedure TRxLoginDialog.Loaded;
var
Loading: Boolean;
FLoading: Boolean;
begin
Loading := csLoading in ComponentState;
FLoading := csLoading in ComponentState;
inherited Loaded;
if not (csDesigning in ComponentState) and Loading then begin
if not (csDesigning in ComponentState) and FLoading then begin
if Active and not Login then
TerminateApplication;
end;