mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-11 11:35:57 +02:00
ide: fix TProjectResources.UpdateMainSourceFile
git-svn-id: trunk@16930 -
This commit is contained in:
parent
05b1773521
commit
d12a0012a2
@ -24,9 +24,11 @@
|
||||
* *
|
||||
***************************************************************************
|
||||
|
||||
Abstract:
|
||||
|
||||
|
||||
Abstract: Project Resources - is a list of System and Lazarus resources.
|
||||
Currently it contains:
|
||||
- Version information
|
||||
- XP manifest
|
||||
- Project icon
|
||||
}
|
||||
unit ProjectResources;
|
||||
|
||||
@ -244,6 +246,8 @@ var
|
||||
Filename: String;
|
||||
begin
|
||||
Result := False;
|
||||
if not Update then
|
||||
Exit;
|
||||
CodeBuf := CodeToolBoss.LoadFile(AFilename, False, False);
|
||||
if CodeBuf <> nil then
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user