Changeset 145 for trunk/Forms/UFormImportSources.pas
- Timestamp:
- Jan 24, 2017, 1:55:43 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormImportSources.pas
r123 r145 32 32 MenuItem5: TMenuItem; 33 33 MenuItem6: TMenuItem; 34 MenuItem7: TMenuItem; 34 35 PopupMenuImportSource: TPopupMenu; 35 36 ToolBar1: TToolBar; … … 182 183 if Assigned(Item) and (Change = ctState) then begin 183 184 TImportSource(Item.Data).Enabled := Item.Checked; 185 Core.AcronymDb.Modified := True; 184 186 end; 185 187 end; … … 226 228 begin 227 229 for I := ListView1.Items.Count - 1 downto 0 do 228 if ListView1.Items[I].Selected then 230 if ListView1.Items[I].Selected then begin 229 231 TImportSource(ListView1.Items[I].Data).Enabled := False; 232 Core.AcronymDb.Modified := True; 233 end; 230 234 UpdateList; 231 235 end; … … 236 240 begin 237 241 for I := ListView1.Items.Count - 1 downto 0 do 238 if ListView1.Items[I].Selected then 242 if ListView1.Items[I].Selected then begin 239 243 TImportSource(ListView1.Items[I].Data).Enabled := True; 244 Core.AcronymDb.Modified := True; 245 end; 240 246 UpdateList; 241 247 end;
Note:
See TracChangeset
for help on using the changeset viewer.