mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 00:54:03 +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;
|
unit ProjectResources;
|
||||||
|
|
||||||
@ -244,6 +246,8 @@ var
|
|||||||
Filename: String;
|
Filename: String;
|
||||||
begin
|
begin
|
||||||
Result := False;
|
Result := False;
|
||||||
|
if not Update then
|
||||||
|
Exit;
|
||||||
CodeBuf := CodeToolBoss.LoadFile(AFilename, False, False);
|
CodeBuf := CodeToolBoss.LoadFile(AFilename, False, False);
|
||||||
if CodeBuf <> nil then
|
if CodeBuf <> nil then
|
||||||
begin
|
begin
|
||||||
|
Loading…
Reference in New Issue
Block a user