Ignore:
Timestamp:
Nov 8, 2010, 12:58:47 PM (13 years ago)
Author:
george
Message:
  • Added: SINGLE_PRODUCER keyword for exclude other producers form compilation.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IDE/Forms/UMainForm.pas

    r12 r14  
    77uses
    88  SysUtils, Variants, Classes, Graphics, Controls, Forms,
    9   Dialogs, StdCtrls, UCompiler, UProducerAsm8051, Registry,
    10   UProducerDynamicC, ComCtrls, ExtCtrls, SynEdit, SynHighlighterPas, UProducerTreeView,
    11   UProducerPascal, UProject, FileUtil, Menus, ActnList, UCoolDocking,
     9  Dialogs, StdCtrls, UCompiler, Registry,
     10  ComCtrls, ExtCtrls, SynEdit, SynHighlighterPas,
     11  UProject, FileUtil, Menus, ActnList, UCoolDocking,
    1212  UCompiledForm, UCodeTreeForm, URegistry, ULastOpenedList, UApplicationInfo,
    1313  UDebugLog;
     
    167167      OpenKey(RegistryKey, True);
    168168      ReopenLastOpenedFile := ReadBoolWithDefault('ReopenLastOpenedFile', True);
    169       ComboBoxProducer.ItemIndex :=
    170         ReadIntegerWithDefault('ProducerType', 0);
    171       ComboBoxAnalyzer.ItemIndex :=
    172         ReadIntegerWithDefault('AnalyzerType', 0);
     169      ComboBoxProducer.ItemIndex := ReadIntegerWithDefault('ProducerType', 0);
     170      with ComboBoxProducer do
     171        if (ItemIndex = -1) and (Items.Count > 0) then ItemIndex := 0;
     172      ComboBoxAnalyzer.ItemIndex := ReadIntegerWithDefault('AnalyzerType', 0);
     173      with ComboBoxAnalyzer do
     174        if (ItemIndex = -1) and (Items.Count > 0) then ItemIndex := 0;
    173175      CheckBoxLogParsing.Checked := ReadBoolWithDefault('LogParsing', False);
    174176    finally
Note: See TracChangeset for help on using the changeset viewer.