mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-27 00:40:18 +02:00
ide: rename unit: removed double rename uses
This commit is contained in:
parent
4cdb9861c5
commit
7c3ead5be5
@ -5508,11 +5508,6 @@ begin
|
||||
end;
|
||||
if (OldUnitName<>'') then
|
||||
begin
|
||||
if (pfMainUnitIsPascalSource in Flags) then
|
||||
begin
|
||||
// rename unit in program uses section
|
||||
CodeToolBoss.RenameUsedUnit(MainUnitInfo.Source, OldUnitName, NewUnitName, '');
|
||||
end;
|
||||
if MainUnitInfo = AnUnitInfo then
|
||||
begin
|
||||
// we are renaming a project => update resource directives
|
||||
|
Loading…
Reference in New Issue
Block a user