Ignore:
Timestamp:
Apr 7, 2016, 11:08:31 PM (8 years ago)
Author:
chronos
Message:
  • Added: Random data pattern write operation.
  • Modified: Reversed list of operations so new ones are placed at top of the list.
  • Fixed: Error on openning recent file which not exists.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Form/UFormMain.pas

    r28 r29  
    176176  LoadConfig;
    177177  Core.PersistentForm1.Load(Self);
    178   if (LastOpenedList1.Items.Count > 0) then
     178  if (LastOpenedList1.Items.Count > 0) and FileExists(LastOpenedList1.Items[0]) then
    179179    ProjectOpen(LastOpenedList1.Items[0])
    180180  else begin
     
    195195  with Core.Project do
    196196  if (Item.Index >= 0) and (Item.Index < Scans.Count) then
    197   with TDriveScan(Scans[Item.Index]) do begin
     197  with TDriveScan(Scans[Scans.Count - 1 - Item.Index]) do begin
    198198    Item.Caption := GetName;
    199     Item.Data := TDriveScan(Scans[Item.Index]);
     199    Item.Data := TDriveScan(Scans[Scans.Count - 1 - Item.Index]);
    200200    Item.SubItems.Add(DateTimeToStr(TimeStart));
    201201    Item.SubItems.Add(DateTimeToStr(TimeEnd));
Note: See TracChangeset for help on using the changeset viewer.