mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-07 09:29:25 +01:00
FpWeb: correctly enable edit controls when New HTTP Server Application dialog is shown
This commit is contained in:
parent
4f73a1d210
commit
c55ec94d74
@ -56,15 +56,18 @@ uses fpWebStrConsts;
|
|||||||
{ TNewHTTPApplicationForm }
|
{ TNewHTTPApplicationForm }
|
||||||
|
|
||||||
procedure TNewHTTPApplicationForm.FormCreate(Sender: TObject);
|
procedure TNewHTTPApplicationForm.FormCreate(Sender: TObject);
|
||||||
|
var
|
||||||
|
SF: TServeFiles;
|
||||||
begin
|
begin
|
||||||
|
SF:=ServeFiles;
|
||||||
|
ELocation.Enabled:=(Sf=sfSingleRoute);
|
||||||
|
DEDocumentRoot.Enabled:=(Sf<>sfNoFiles);
|
||||||
LocalizeForm;
|
LocalizeForm;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TNewHTTPApplicationForm.RBNoFilesChange(Sender: TObject);
|
procedure TNewHTTPApplicationForm.RBNoFilesChange(Sender: TObject);
|
||||||
|
var
|
||||||
Var
|
SF: TServeFiles;
|
||||||
SF : TServeFiles;
|
|
||||||
|
|
||||||
begin
|
begin
|
||||||
SF:=ServeFiles;
|
SF:=ServeFiles;
|
||||||
ELocation.Enabled:=(Sf=sfSingleRoute);
|
ELocation.Enabled:=(Sf=sfSingleRoute);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user