Changeset 29 for trunk/UAcronym.pas
- Timestamp:
- Jul 12, 2016, 4:41:03 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UAcronym.pas
r28 r29 163 163 procedure DoPassword(Sender: TObject; var RepeatRequest : Boolean); 164 164 public 165 Enabled: Boolean; 165 166 Name: string; 166 167 URL: string; … … 618 619 procedure TImportSource.Assign(Source: TImportSource); 619 620 begin 621 Enabled := Source.Enabled; 620 622 Name := Source.Name; 621 623 URL := Source.URL; 622 624 Format := Source.Format; 625 LastTime := Source.LastTime; 626 ItemCount := Source.ItemCount; 623 627 end; 624 628 … … 629 633 if Assigned(Format) then WriteInteger(Node, 'ImportFormat', Format.Id) 630 634 else WriteInteger(Node, 'ImportFormat', -1); 635 WriteBoolean(Node, 'Enabled', Enabled); 631 636 end; 632 637 … … 636 641 URL := ReadString(Node, 'URL', ''); 637 642 Format := Sources.AcronymDb.ImportFormats.SearchById(ReadInteger(Node, 'ImportFormat', -1)); 643 Enabled := ReadBoolean(Node, 'Enabled', True); 638 644 end; 639 645 … … 641 647 begin 642 648 Format := nil; 649 Enabled := True; 643 650 end; 644 651
Note:
See TracChangeset
for help on using the changeset viewer.