Changeset 287 for trunk/Forms/UFormUnitKinds.pas
- Timestamp:
- Mar 24, 2019, 2:26:29 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormUnitKinds.pas
r284 r287 98 98 FormUnitKind := TFormUnitKind.Create(Self); 99 99 try 100 FormUnitKind. Load(TempEntry);100 FormUnitKind.UnitKind := TempEntry; 101 101 if FormUnitKind.ShowModal = mrOk then begin 102 FormUnitKind.Save(TempEntry);103 102 TUnitKind(ListView1.Selected.Data).Assign(TempEntry); 104 103 UpdateList; … … 120 119 try 121 120 TempEntry.Name := SNewUnitKind; 122 FormUnitKind. Load(TempEntry);121 FormUnitKind.UnitKind := TempEntry; 123 122 if FormUnitKind.ShowModal = mrOk then begin 124 FormUnitKind.Save(TempEntry);125 123 UnitKinds.Add(TempEntry); 126 124 TempEntry := nil;
Note:
See TracChangeset
for help on using the changeset viewer.