mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-14 13:32:56 +02:00
IDE: create package uses section: use disk file names
git-svn-id: trunk@41582 -
This commit is contained in:
parent
e1df88cc73
commit
985a7b4d07
@ -4331,6 +4331,7 @@ begin
|
||||
NeedsRegisterProcCall:=CurFile.HasRegisterProc
|
||||
and (APackage.PackageType in [lptDesignTime,lptRunAndDesignTime]);
|
||||
|
||||
AFilename:=CodeToolBoss.DirectoryCachePool.FindDiskFilename(AFilename,true);
|
||||
CurUnitName:=ExtractFileNameOnly(AFilename);
|
||||
|
||||
if not (NeedsRegisterProcCall or CurFile.AddToUsesPkgSection) then
|
||||
|
Loading…
Reference in New Issue
Block a user