Changeset 288 for trunk/Forms/UFormNations.pas
- Timestamp:
- Mar 24, 2019, 10:52:35 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormNations.pas
r284 r288 102 102 FormNation := TFormNation.Create(Self); 103 103 try 104 FormNation. Load(TempEntry);104 FormNation.Nation := TempEntry; 105 105 if FormNation.ShowModal = mrOk then begin 106 FormNation.Save(TempEntry);107 106 TNation(ListView1.Selected.Data).Assign(TempEntry); 108 107 UpdateList; … … 124 123 try 125 124 TempEntry.Name := SNewUnitKind; 126 FormNation. Load(TempEntry);125 FormNation.Nation := TempEntry; 127 126 if FormNation.ShowModal = mrOk then begin 128 FormNation.Save(TempEntry);129 127 Nations.Add(TempEntry); 130 128 TempEntry := nil; … … 149 147 try 150 148 TempEntry.Name := Nations.GetNextAvailableName(TempEntry.Name); 151 FormNation. Load(TempEntry);149 FormNation.Nation := TempEntry; 152 150 if FormNation.ShowModal = mrOk then begin 153 FormNation.Save(TempEntry);154 151 Nations.Add(TempEntry); 155 152 TempEntry := nil;
Note:
See TracChangeset
for help on using the changeset viewer.