Changeset 82 for trunk/UCore.pas
- Timestamp:
- Dec 21, 2021, 5:16:41 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UCore.pas
r76 r82 83 83 GenerateCount: Integer; 84 84 ToolbarVisible: Boolean; 85 DefaultVcardVersion: string; 85 86 function GetProfileImage: TImage; 86 87 procedure FileNew; … … 453 454 LastPropertyValueFileName := ReadStringWithDefault('LastPropertyValueFileName', ''); 454 455 GenerateCount := ReadIntegerWithDefault('GenerateCount', 1); 456 DefaultVcardVersion := ReadStringWithDefault('DefaultVcardVersion', '2.1'); 455 457 finally 456 458 Free; … … 479 481 WriteString('LastPropertyValueFileName', LastPropertyValueFileName); 480 482 WriteInteger('GenerateCount', GenerateCount); 483 WriteString('DefaultVcardVersion', DefaultVcardVersion); 481 484 finally 482 485 Free; … … 506 509 AFileSplit.Enabled := Assigned(DataFile); 507 510 AFileCombine.Enabled := Assigned(DataFile); 511 AFind.Enabled := Assigned(DataFile); 508 512 AFindDuplicate.Enabled := Assigned(DataFile); 509 513 AGenerate.Enabled := Assigned(DataFile); … … 525 529 LastOpenedList1.AddItem(FileNameOption); 526 530 end else 527 if (LastOpenedList1.Items.Count > 0) and FileExists(LastOpenedList1.Items[0]) then begin531 if ReopenLastFileOnStart and (LastOpenedList1.Items.Count > 0) and FileExists(LastOpenedList1.Items[0]) then begin 528 532 // Open last opened file 529 533 AFileNew.Execute;
Note:
See TracChangeset
for help on using the changeset viewer.