Changeset 41 for trunk/IDE/Forms/UCompilersForm.pas
- Timestamp:
- Feb 28, 2012, 8:34:31 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IDE/Forms/UCompilersForm.pas
r37 r41 31 31 32 32 uses 33 UMainForm, UCompiler, UCompilerSettingsForm, UProducer ;33 UMainForm, UCompiler, UCompilerSettingsForm, UProducer, UTarget; 34 34 35 35 resourcestring … … 46 46 procedure TFormProducers.ListView1Data(Sender: TObject; Item: TListItem); 47 47 begin 48 if (Item.Index >= 0) and (Item.Index < MainForm.Compiler. Producers.Count) then49 with T Producer(MainForm.Compiler.Producers[Item.Index]) do begin48 if (Item.Index >= 0) and (Item.Index < MainForm.Compiler.Targets.Count) then 49 with TTarget(MainForm.Compiler.Targets[Item.Index]) do begin 50 50 Item.Caption := Name; 51 Item.Data := MainForm.Compiler. Producers[Item.Index];52 Item.SubItems.Add( CompilerPath);51 Item.Data := MainForm.Compiler.Targets[Item.Index]; 52 Item.SubItems.Add(Producer.CompilerPath); 53 53 end; 54 54 end; … … 66 66 procedure TFormProducers.ReloadList; 67 67 begin 68 ListView1.Items.Count := MainForm.Compiler. Producers.Count;68 ListView1.Items.Count := MainForm.Compiler.Targets.Count; 69 69 ListView1.Refresh; 70 70 end;
Note:
See TracChangeset
for help on using the changeset viewer.