Skip to content

Commit c48cf22

Browse files
author
Joachim Marder
committed
Fixed compiler error due to recent change.
1 parent 30a4638 commit c48cf22

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Designer/FPreview.pas

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -449,8 +449,7 @@ procedure TFormPreview.CommandCreated(const Sender: TUIRibbon;
449449
try
450450
for I := 0 to 19 do
451451
begin
452-
RecentItem := TUIRecentItem.Create;
453-
RecentItem.LabelText := RS_ITEM + ' ' + Char(Ord('A') + I);
452+
RecentItem := TUIRecentItem.Create(RS_ITEM + ' ' + Char(Ord('A') + I));
454453
RecentItem.Description := RS_ITEM_DESC + ' ' + Char(Ord('A') + I);
455454
RecentItem.Pinned := False;
456455
CmdRecentItems.Items.Add(RecentItem);

0 commit comments

Comments
 (0)