mirror of https://gitlab.com/basile.b/dexed.git
project groups, handle hint when FSP is not saved
This commit is contained in:
parent
fb3a94166f
commit
0d33b217ea
|
|
@ -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';
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue