project groups, handle hint when FSP is not saved

This commit is contained in:
Basile Burg 2016-08-05 16:05:43 +02:00
parent fb3a94166f
commit 0d33b217ea
1 changed files with 7 additions and 4 deletions

View File

@ -614,10 +614,13 @@ begin
end; end;
if fFreeProj <> nil then if fFreeProj <> nil then
begin begin
case fFreeProj.getFormat of if fFreeProj.filename.fileExists then
pfNative: StaticText1.Caption:= 'Free standing: ' + fFreeProj.filename.extractFileName; case fFreeProj.getFormat of
pfDub: StaticText1.Caption:= 'Free standing: ' + TCEDubProject(fFreeProj.getProject).packageName; pfNative: StaticText1.Caption:= 'Free standing: ' + fFreeProj.filename.extractFileName;
end; pfDub: StaticText1.Caption:= 'Free standing: ' + TCEDubProject(fFreeProj.getProject).packageName;
end
else
StaticText1.Caption:= 'Free standing: (not yet saved)';
end end
else else
StaticText1.Caption:= 'No free standing project'; StaticText1.Caption:= 'No free standing project';