Changeset 227 for trunk/Forms/FormImportFormats.pas
- Timestamp:
- Jan 20, 2025, 11:38:55 AM (42 hours ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/FormImportFormats.pas
r219 r227 36 36 Selected: Boolean); 37 37 public 38 AcronymDb: TAcronymDb; 38 39 ImportFormats: TImportFormats; 39 40 procedure UpdateList; … … 47 48 48 49 uses 49 Core,FormImportFormat;50 FormImportFormat; 50 51 51 52 resourcestring … … 98 99 begin 99 100 UpdateList; 100 Core.Core.ScaleDPI1.ScaleControl(ToolBar1, Core.Core.ScaleDPI1.DesignDPI);101 ScaleDPI.ScaleControl(ToolBar1, ScaleDPI.DesignDPI); 101 102 end; 102 103 … … 116 117 ImportFormats.Add(NewImportFormat); 117 118 NewImportFormat := nil; 118 Core.Core.AcronymDb.Modified := True;119 AcronymDb.Modified := True; 119 120 UpdateList; 120 121 end else ShowMessage(Format(SImportFormatAlreadyExists, [NewImportFormat.Name])); … … 142 143 if not Assigned(ImportFormats.SearchByName(NewImportFormat.Name)) then begin; 143 144 TImportFormat(ListView1.Selected.Data).Assign(NewImportFormat); 144 Core.Core.AcronymDb.Modified := True;145 AcronymDb.Modified := True; 145 146 UpdateList; 146 147 end else ShowMessage(Format(SImportFormatAlreadyExists, [NewImportFormat.Name])); 147 148 end else begin 148 149 TImportFormat(ListView1.Selected.Data).Assign(NewImportFormat); 149 Core.Core.AcronymDb.Modified := True;150 AcronymDb.Modified := True; 150 151 UpdateList; 151 152 end;
Note:
See TracChangeset
for help on using the changeset viewer.