Ignore:
Timestamp:
Jul 15, 2016, 12:38:46 AM (8 years ago)
Author:
chronos
Message:
  • Modified: More translated strings.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormImportPattern.pas

    r28 r45  
    4545procedure TFormImportPattern.FormShow(Sender: TObject);
    4646begin
     47  InitControls;
    4748end;
    4849
     
    5657  I: TImportPatternFlag;
    5758  J: TImportVariable;
     59  Index: Integer;
    5860begin
     61  Index := ComboBoxAction.ItemIndex;
    5962  while ComboBoxAction.Items.Count > 0 do
    6063    ComboBoxAction.Items.Delete(ComboBoxAction.Items.Count - 1);
     
    6366  for I := Low(TImportPatternFlag) to High(TImportPatternFlag) do
    6467    ComboBoxAction.Items[Integer(I)] := ImportPatternFlagString[I];
     68  ComboBoxAction.ItemIndex := Index;
    6569
     70  Index := ComboBoxVariable.ItemIndex;
    6671  ComboBoxVariable.Items.Clear;
    6772  while ComboBoxVariable.Items.Count > 0 do
     
    7176  for J := Low(TImportVariable) to High(TImportVariable) do
    7277    ComboBoxVariable.Items[Integer(J)] := ImportVariableString[J];
     78  ComboBoxVariable.ItemIndex := Index;
    7379end;
    7480
Note: See TracChangeset for help on using the changeset viewer.