Changeset 51 for trunk/Forms/UFormTargets.pas
- Timestamp:
- Jul 26, 2012, 2:07:15 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormTargets.pas
r50 r51 31 31 32 32 uses 33 U FormMain, UTarget, UFormTargetOptions;33 UCore, UTarget, UFormTargetOptions; 34 34 35 35 { TFormCompilers } … … 42 42 procedure TFormCompilers.ListView1Data(Sender: TObject; Item: TListItem); 43 43 begin 44 if (Item.Index >= 0) and (Item.Index < MainForm.Targets.Count) then45 with TTarget( MainForm.Targets[Item.Index]) do begin44 if (Item.Index >= 0) and (Item.Index < Core.Targets.Count) then 45 with TTarget(Core.Targets[Item.Index]) do begin 46 46 Item.Caption := Name; 47 Item.Data := MainForm.Targets[Item.Index];47 Item.Data := Core.Targets[Item.Index]; 48 48 Item.SubItems.Add(ExecutorPath); 49 49 Item.SubItems.Add(CompilerPath); … … 62 62 procedure TFormCompilers.ReloadList; 63 63 begin 64 ListView1.Items.Count := MainForm.Targets.Count;64 ListView1.Items.Count := Core.Targets.Count; 65 65 ListView1.Refresh; 66 66 end;
Note:
See TracChangeset
for help on using the changeset viewer.