Changeset 56 for trunk/Forms/UFormMain.pas
- Timestamp:
- Jul 26, 2016, 2:13:41 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormMain.pas
r51 r56 110 110 procedure LastOpenedList1Change(Sender: TObject); 111 111 procedure ListViewAcronymsData(Sender: TObject; Item: TListItem); 112 procedure ListViewAcronymsResize(Sender: TObject); 112 113 procedure ListViewAcronymsSelectItem(Sender: TObject; Item: TListItem; 113 114 Selected: Boolean); … … 140 141 141 142 resourcestring 142 SAddedCount = 'Imported %d acronyms ';143 SAddedCount = 'Imported %d acronyms. Added %d new.'; 143 144 SProcessImportSources = 'Process import sources'; 144 145 … … 277 278 begin 278 279 ImportTotalItemCount := 0; 280 AcronymDb.AddedCount := 0; 279 281 JobProgressView1.AddJob(SProcessImportSources, ProcessImportsJob); 280 282 JobProgressView1.Start; 281 ShowMessage(Format(SAddedCount, [ImportTotalItemCount ]));283 ShowMessage(Format(SAddedCount, [ImportTotalItemCount, AcronymDb.AddedCount])); 282 284 UpdateAcronymsList; 283 285 UpdateInterface; … … 393 395 Item.SubItems.Add(Categories.GetString); 394 396 end; 397 end; 398 399 procedure TFormMain.ListViewAcronymsResize(Sender: TObject); 400 begin 401 ListViewFilter1.UpdateFromListView(ListViewAcronyms); 395 402 end; 396 403
Note:
See TracChangeset
for help on using the changeset viewer.