Skip to content

Commit

Permalink
Demo.Forms.Details was accessing absolute path D:\
Browse files Browse the repository at this point in the history
  • Loading branch information
JensMertelmeyer committed May 8, 2020
1 parent b29c33f commit 820b097
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Demos/Main/Demo.Forms.Details.pas
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ implementation

procedure TfrmDetails.FormCreate(Sender: TObject);
begin
dsPersons.LoadFromFile('D:\projects\GitHub\Project Neon\delphi-neon\Demos\Main\persons.json');
dsPersons.LoadFromFile('persons.json');
end;

procedure TfrmDetails.btnAvatarClick(Sender: TObject);
Expand All @@ -94,7 +94,7 @@ procedure TfrmDetails.btnAvatarClick(Sender: TObject);

procedure TfrmDetails.Button1Click(Sender: TObject);
begin
dsPersons.SaveToFile('D:\projects\GitHub\Project Neon\delphi-neon\Demos\Main\persons.json', sfJSON);
dsPersons.SaveToFile('persons.json', sfJSON);
end;

procedure TfrmDetails.ClearImage;
Expand Down
1 change: 1 addition & 0 deletions Demos/Main/NeonMainDemo.dproj
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
<Manifest_File>$(BDS)\bin\default_app.manifest</Manifest_File>
<VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
<VerInfo_Keys>CompanyName=;FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductVersion=1.0.0.0;Comments=;ProgramID=com.embarcadero.$(ModuleName);FileDescription=$(ModuleName);ProductName=$(ModuleName)</VerInfo_Keys>
<Debugger_CWD>.\</Debugger_CWD>
</PropertyGroup>
<PropertyGroup Condition="'$(Cfg_1)'!=''">
<DCC_Define>RELEASE;$(DCC_Define)</DCC_Define>
Expand Down

0 comments on commit 820b097

Please sign in to comment.