Skip to content

Commit

Permalink
Fixed FindSafeNewName to return a result, was also causing issue with…
Browse files Browse the repository at this point in the history
… TStructuredView which is set to not show unnamed controls (does that to hide style-related items)
  • Loading branch information
[email protected] committed Jan 28, 2022
1 parent 1de6c1d commit e2b8c43
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ function TComponentNameHelper.FindSafeNewName(const NewName: TComponentName; AOw
Inc(counter);
theName := NewName + IntToStr(counter);
end;

result := theName;
end;

{$ENDREGION}
Expand Down

0 comments on commit e2b8c43

Please sign in to comment.