Browse Source

Fix OpenListBox first 2 special entries missing. Oops.

Martijn Laan 5 năm trước cách đây
mục cha
commit
4f34d3472a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      Projects/CompStartup.pas

+ 1 - 1
Projects/CompStartup.pas

@@ -67,7 +67,7 @@ uses
 
 procedure TStartupForm.SetMRUFilesList(const MRUFilesList: TStringList);
 begin
-  OpenListBox.Items := MRUFilesList;
+  OpenListBox.Items.AddStrings(MRUFilesList);
   UpdateHorizontalExtent(OpenListBox);
 end;