Ignore:
Timestamp:
Jul 12, 2016, 4:41:03 PM (8 years ago)
Author:
chronos
Message:
  • Added: New import source state called Enabled to allow to select only currently needed imports for importing from all sources.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormImportSource.pas

    r28 r29  
    1717    ButtonOk: TButton;
    1818    ButtonCancel: TButton;
     19    CheckBoxEnabled: TCheckBox;
    1920    ComboBox1: TComboBox;
    2021    EditName: TEdit;
     
    7879  if (ComboBox1.ItemIndex = -1) and (ComboBox1.Items.Count > 0) then
    7980    ComboBox1.ItemIndex := 0;
     81  CheckBoxEnabled.Checked := ImportSource.Enabled;
    8082end;
    8183
     
    8587  ImportSource.URL := EditURL.Text;
    8688  ImportSource.Format := TImportFormat(ComboBox1.Items.Objects[ComboBox1.ItemIndex]);
     89  ImportSource.Enabled := CheckBoxEnabled.Checked;
    8790end;
    8891
Note: See TracChangeset for help on using the changeset viewer.