mirror of https://gitlab.com/basile.b/dexed.git
projects group, attach the FSP to newly added group item if both match
This commit is contained in:
parent
cfac8dcd86
commit
d2539669a4
|
@ -234,6 +234,13 @@ begin
|
||||||
result.fFilename := fname
|
result.fFilename := fname
|
||||||
else
|
else
|
||||||
result.fFilename := ExtractRelativepath(fBasePath, fname);
|
result.fFilename := ExtractRelativepath(fBasePath, fname);
|
||||||
|
if assigned(fFreeStanding) and SameFileName(fname, fFreeStanding.filename) then
|
||||||
|
begin
|
||||||
|
result.fProj := fFreeStanding;
|
||||||
|
fFreeStanding.inGroup(true);
|
||||||
|
fFreeStanding := nil;
|
||||||
|
result.fProj.activate;
|
||||||
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TProjectGroup.getProject(ix: Integer): ICECommonProject;
|
function TProjectGroup.getProject(ix: Integer): ICECommonProject;
|
||||||
|
|
Loading…
Reference in New Issue