mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-27 19:20:17 +02:00
IDE: Update project inspector after renaming a unit. Issue #27909.
git-svn-id: trunk@48809 -
This commit is contained in:
parent
ec2f4559ce
commit
fec09258e7
@ -4975,7 +4975,8 @@ var
|
||||
OldFileExisted: Boolean;
|
||||
ConvTool: TConvDelphiCodeTool;
|
||||
begin
|
||||
Project1.BeginUpdate(false);
|
||||
// Project is marked as changed already here. ToDo: Mark changed only if really renamed.
|
||||
Project1.BeginUpdate(true);
|
||||
try
|
||||
OldFilename:=AnUnitInfo.Filename;
|
||||
OldFilePath:=ExtractFilePath(OldFilename);
|
||||
|
Loading…
Reference in New Issue
Block a user