Changeset 148 for trunk/Forms/UFormAcronyms.pas
- Timestamp:
- Feb 6, 2017, 12:59:59 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormAcronyms.pas
r146 r148 156 156 TAcronymCategory(Meaning.Categories.Items[I]).AcronymMeanings.Add(Meaning); 157 157 158 Core.AcronymDb.Update; 158 159 UpdateAcronymsList; 159 160 UpdateInterface; … … 201 202 if TAcronymCategory(Meaning.Categories.Items[I]).AcronymMeanings.IndexOf(Meaning) = -1 then 202 203 TAcronymCategory(Meaning.Categories.Items[I]).AcronymMeanings.Add(Meaning); 203 204 Core.AcronymDb.Update; 204 205 UpdateAcronymsList; 205 206 UpdateInterface; … … 221 222 if MessageDlg(SRemoveAcronym, SRemoveAcronymQuery, 222 223 TMsgDlgType.mtConfirmation, [mbCancel, mbOk], 0) = mrOk then begin 224 Core.AcronymDb.BeginUpdate; 223 225 for I := ListViewAcronyms.Items.Count - 1 downto 0 do 224 226 if ListViewAcronyms.Items[I].Selected then begin … … 228 230 UpdateAcronymsList; 229 231 UpdateInterface; 232 Core.AcronymDb.EndUpdate; 230 233 end; 231 234 end;
Note:
See TracChangeset
for help on using the changeset viewer.