IDE: rename unit: adding relative unit path

git-svn-id: trunk@21905 -
This commit is contained in:
mattias 2009-09-28 14:32:34 +00:00
parent 0547a037a7
commit 872d2b24c2

View File

@ -5094,7 +5094,8 @@ begin
mtConfirmation,[mbYes,mbNo],0)=mrYes then
begin
Project1.CompilerOptions.OtherUnitFiles:=
Project1.CompilerOptions.OtherUnitFiles+';'+NewFilePath;
Project1.CompilerOptions.OtherUnitFiles+';'
+CreateRelativePath(NewFilePath,Project1.ProjectDirectory);
end;
end;
end;