Ignore:
Timestamp:
Aug 8, 2016, 1:41:25 PM (8 years ago)
Author:
chronos
Message:
  • Modified: Non-visual code moved from FormMain to Core data module.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormImportFormats.pas

    r85 r86  
    5353
    5454uses
    55   UFormMain, UFormImportFormat;
     55  UCore, UFormImportFormat;
    5656
    5757resourcestring
     
    118118      ImportFormats.Add(NewImportFormat);
    119119      NewImportFormat := nil;
    120       FormMain.AcronymDb.Modified := True;
     120      Core.AcronymDb.Modified := True;
    121121      UpdateList;
    122122    end else ShowMessage(Format(SImportFormatAlreadyExists, [NewImportFormat.Name]));
     
    138138        if not Assigned(ImportFormats.SearchByName(NewImportFormat.Name)) then begin;
    139139          TImportFormat(ListView1.Selected.Data).Assign(NewImportFormat);
    140           FormMain.AcronymDb.Modified := True;
     140          Core.AcronymDb.Modified := True;
    141141          UpdateList;
    142142        end else ShowMessage(Format(SImportFormatAlreadyExists, [NewImportFormat.Name]));
    143143      end else begin
    144144        TImportFormat(ListView1.Selected.Data).Assign(NewImportFormat);
    145         FormMain.AcronymDb.Modified := True;
     145        Core.AcronymDb.Modified := True;
    146146        UpdateList;
    147147      end;
Note: See TracChangeset for help on using the changeset viewer.