Changeset 86 for trunk/Forms/UFormImportSources.pas
- Timestamp:
- Aug 8, 2016, 1:41:25 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormImportSources.pas
r85 r86 75 75 76 76 uses 77 U FormMain, UFormImportSource;77 UCore, UFormMain, UFormImportSource; 78 78 79 79 resourcestring … … 193 193 ImportSources.Add(NewImportSource); 194 194 NewImportSource := nil; 195 FormMain.AcronymDb.Modified := True;195 Core.AcronymDb.Modified := True; 196 196 UpdateList; 197 197 end else ShowMessage(Format(SImportSourceAlreadyExists, [NewImportSource.Name])); … … 233 233 if not Assigned(ImportSources.SearchByName(NewImportSource.Name)) then begin; 234 234 TImportSource(ListView1.Selected.Data).Assign(NewImportSource); 235 FormMain.AcronymDb.Modified := True;235 Core.AcronymDb.Modified := True; 236 236 UpdateList; 237 237 end else ShowMessage(Format(SImportSourceAlreadyExists, [NewImportSource.Name])); 238 238 end else begin 239 239 TImportSource(ListView1.Selected.Data).Assign(NewImportSource); 240 FormMain.AcronymDb.Modified := True;240 Core.AcronymDb.Modified := True; 241 241 UpdateList; 242 242 end; … … 249 249 begin 250 250 if Assigned(ListView1.Selected) then begin 251 FormMain.AcronymDb.AddedCount := 0;251 Core.AcronymDb.AddedCount := 0; 252 252 JobProgressView1.AddJob(SProcessSelectedSource, ProcessImportJob); 253 253 JobProgressView1.Start; 254 ShowMessage(Format(SAddedCount, [TImportSource(ListView1.Selected.Data).ItemCount, FormMain.AcronymDb.AddedCount])); 254 ShowMessage(Format(SAddedCount, [TImportSource(ListView1.Selected.Data).ItemCount, 255 Core.AcronymDb.AddedCount])); 255 256 end; 256 257 end;
Note:
See TracChangeset
for help on using the changeset viewer.