Ignore:
Timestamp:
Jul 25, 2016, 5:37:39 PM (8 years ago)
Author:
chronos
Message:
  • Added: Remember last import date for import sources.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormImportSources.pas

    r51 r52  
    6464  SRemoveImportSourceQuery = 'Do you really want to remove selected import sources?';
    6565  SImportSourceAlreadyExists = 'Import source %s already exists!';
     66  SProcessSelectedSource = 'Process selected import source';
    6667
    6768
     
    7576    Item.Data := ImportSources[Item.Index];
    7677    Item.SubItems.Add(URL);
     78    Item.SubItems.Add(Categories.GetString);
    7779    Item.SubItems.Add(IntToStr(ItemCount));
    78     Item.SubItems.Add(Categories.GetString);
     80    if LastImportTime <> 0 then
     81      Item.SubItems.Add(DateToStr(LastImportTime))
     82      else Item.SubItems.Add('');
    7983    Item.Checked := Enabled;
    8084  end;
     
    158162begin
    159163  if Assigned(ListView1.Selected) then begin
    160     JobProgressView1.AddJob('Process selected import source', ProcessImportJob);
     164    JobProgressView1.AddJob(SProcessSelectedSource, ProcessImportJob);
    161165    JobProgressView1.Start;
    162166    ShowMessage(Format(SAddedCount, [TImportSource(ListView1.Selected.Data).ItemCount]));
Note: See TracChangeset for help on using the changeset viewer.